authenticator/authenticator.go:115 as:7 (Authenticator, AppspaceUserProxyID,
{7f12d440-... 2024-08-20 00:05:57.067584622 +0000 UTC 0 false 4 p7c... shop.<domain> })
Error: got a cookie for wrong appspace or for user account
This happens after the following sequence:
- delete an appspace
- create a new appspace using the deleted appspace's subdomain
- user refreshes page at that address
The error makes sense, but it comes back as a fatal error (500 internal server error) which is not nice. Better to just log the issue in case this is some malicious intent, but then treat the request as unauthenticated (and delete the cookie).
This happens after the following sequence:
The error makes sense, but it comes back as a fatal error (500 internal server error) which is not nice. Better to just log the issue in case this is some malicious intent, but then treat the request as unauthenticated (and delete the cookie).