auth0 / auth0-spa-js

Auth0 authentication for Single Page Applications (SPA) with PKCE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Misconfiguration in the system or a service outage" error in Auth0

HanBC0704 opened this issue · comments

Checklist

Description

Now I’ve integrated the auth0 using the auth0-spa-js/2.1/auth0-spa-js.production.js
In normal case, it works well.
But after logout, certain period later, I tried to login in again. In this case I got the misconfiguration error.

Error Case Reference Video Here

I already added allowed callback urls, login urls, logout urls in the auth0 dashboard config. but not sure Why I got this error.
Please help. Thank you.

PS: here is a tracking when error occurred. 93681c1f0d5d9661154b, 75c6fc801fc031d745d7
And already posted this in the Auth0 community: [https://community.auth0.com/t/misconfiguration-in-the-system-or-a-service-outage-error-in-auth0/111693/1]

Reproduction

case1:

  1. step1: open one browser, and hit https://stg.comportal.tsh.care/, then will open auth0 login page. here using account: "tsh.qateam07@gmail.com" pwd: "abcd@123", login.
  2. step2: after login success, passed 15 minutes you will be logout. in this case, don't close the browser, after one day, login again. Then the misconfiguration error will be occurred.

case2:

  1. step1: open one browser, and hit https://stg.comportal.tsh.care/, then will open auth0 login page. here using account: "tsh.qateam07@gmail.com" pwd: "abcd@123", login.
  2. step2: open another 5 tabs, and repeat step1, so open 5 tabs with the same url.
  3. after auto logout, passed 1 or 2 hour, login in again one by one. then one of the opened 5 tabs will be reproduced.

Additional context

No response

auth0-spa-js version

2.1

Which framework are you using (React, Angular, Vue...)?

Vue

Framework version

2.6.14

Which browsers have you tested in?

Chrome, Safari

Just one question for this.
When does the state of the Auth0 change in the Auth0 engine? Think it is related with the Auth0 state...

Hi @HanBC0704 - thanks for raising this and apologies for the delay getting back to you.

Could you share a HAR file that demonstrates the issue and I'd be happy to investigate for you.

When does the state of the Auth0 change in the Auth0 engine?

Sorry, I'm not sure what you mean by "state of the Auth0"

Closing this due to inactivity. Can always reopen as needed.