I am currently trying to setup a NextJS application Authorization Server for Auth0 Social Connection to integrate with it.
I’ve successfully went through the first step which links to my https://domain.com/oauth/authorize. But when I call the redirect URI using
router.push(redirectUri?code=xxx) it throws me this error.
You may have pressed the back button, refreshed during login, opened too many login dialogs, or there is some issue with cookies, since we couldn’t find your session. Try logging in again from the application and if the problem persists please contact the administrator.
Am I doing this wrongly?
window.location.href it doesn’t work too.
Looking for help. Thanks.