You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have configured a subdomain for a existing Tenant of ADB2C. this subdomain URL is working when it is opened directly in the browser. it is showing the login page and and working as expected. But when we are using nextjs to authenticate and using next-auth library first of all it is redirecting to the Tenant URL for login. Now in code we have override the issuer URL of Azureadb2c config in as in library code is written like:
**
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have configured a subdomain for a existing Tenant of ADB2C. this subdomain URL is working when it is opened directly in the browser. it is showing the login page and and working as expected. But when we are using nextjs to authenticate and using next-auth library first of all it is redirecting to the Tenant URL for login. Now in code we have override the issuer URL of Azureadb2c config in as in library code is written like:
**
**
we found that after providing the issuesr url in Azureadb2c config it is providing the Auth error
http://localhost:3000/auth/signin?callbackUrl=http%3A%2F%2Flocalhost%3A3000&error=OAuthSignin
and browser is in continuous in loop due the the OAuth error.
Beta Was this translation helpful? Give feedback.
All reactions