-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to issue redirect for OAuth 2.0 transaction #1050
Comments
Thanks for reporting. Can you see if there are any logs shown in Auth0? Based on the code you shared I can not see anything wrong, so I think we would benefit from seeing see a reproduction sample to be able to action this. Thanks, |
I have checked in the monitoring section and get below details. error - Unable to issue redirect for OAuth 2.0 transaction. Please let me know if I have to look into anywhere else to get additional details. |
Hi Frederik, Any suggestion please ? |
Please provide a reproduction so we can look into it, as i have been unable to reproduce this. |
I've faced the same issue. EDIT auth0-spa-js/src/Auth0Client.ts Lines 444 to 455 in 66fd76d
Here, |
@kyontan That's correct, as of v2, the Looking at the OP's code, they do use |
@frederikprijck |
Just to inform you that, issue got sorted out. Seems like there was a problem with my system. I have tried to check with my colleagues and works fine there. thus closing the issue. Thanks all for the support. |
Hi
Please help me on the below issues.
Describe the problem
Recently, I have upgraded @auth0/auth0-spa-js to 2.0.0 since then I was unable to login into the application. It was working before with the previous version - 1.15.0. Reason for login failure is that server is responding with error - 500. So, I have gone through the network tab in my browser and noticed that authorize/resume?state= api call is failing. This is a redirect call from /login/callback as per the network details. So the sequence of my api call was as mentioned below.
authorize?client - Success
auth?hd - success
callback?state - success
resume?state - Failed with status code - 500
Here is my code snippet: ( Just changed clientId from client_id and added authorizationParam to have rest )
const client = createAuth0Client({
clientId,
domain,
authorizationParam: { // Changes as a part of version -2.0.0
redirect_uri
audience
connection
}
})
redirect call
client.loginWithRedicrect({
appState,
authorizationParam: { // Changes as a part of version -2.0.0
redirect_uri
}
})
What was the expected behavior?
It should allow the user to log in without any error
Reproduction
Unable to provide details.
Environment
auth0-spa-js
used: - 2.0.0The text was updated successfully, but these errors were encountered: