dashboard-plugin icon indicating copy to clipboard operation
dashboard-plugin copied to clipboard

Switching Dashboard accounts throws a 403 error

Open garethmcc opened this issue 6 years ago • 0 comments

Seems that if you login with one account successfully and can view your applications, you then logout and try to login with a different account the dashboard breaks with a 403 error on the page, at least with Firefox. Clearing cache and cookies solves the problem temporarily.

image

My exact process was:

  1. Login with my Serverless Gmail account. I can see my apps.
  2. Logout.
  3. Login with my personal Github account (different email address). Where apps list should be I see the image posted with this issue.

There are two requests that have 403s. The first isa GET to https://api.serverless.com/core/tenants/garethmcc/deploymentProfiles. The error returned from the endpoint is:

{"errorMessage":"You're not authorized to access this Tenant. Please make sure that you have a correct URL or contact your project admin. - Please contact support and provide this identifier to reference this issue - PTLSRBFL98JZ"}

The second is a GET request to https://api.serverless.com/core/tenants/garethmcc/applications?x-services=true. The response is:

{"errorMessage":"You're not authorized to access this Tenant. Please make sure that you have a correct URL or contact your project admin. - Please contact support and provide this identifier to reference this issue - PT06T9SRBVVY"}

garethmcc avatar Jun 07 '19 07:06 garethmcc