Skip to content

Fatal error for appspace users when deleting and recreating appspace at same domain #130

Description

@teleclimber
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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions