Hi all! I’m using the “auth0-js” library: “^9.19.0”. Faced the problem only in Safari. When confirming the phone number, the page reloads and gives an error:
"user_agent": "Safari 15.5.0 / Mac OS X 10.15.7",
error: {
"message": "Unable to configure verification page.",
"oauthError": "server_error",
"type": "oauth authorization"
},
Here is the code itself:
const webAuth = new (auth0 as any).WebAuth({
domain: process.env.AUTH0_DOMAIN,
clientID: process.env.CLIENT_ID,
responseType: 'token id_token',
redirectUri: process.env.REDIRECT_URI,
})
webAuth.parseHash({ hash: window.location.hash }, function (err, authResult) {...}
I tried everything that was written here, but nothing helped. The custom domain is different from the application itself. And replacing it is not suitable.
Maybe someone knows how to solve this problem?