Open mmillican opened 1 month ago
If meanwhile you solve this issue please tell us how. I'm also with the same problem and cant figure it out.
Thanks a lot.
I have the same problem here and would appreciate a solution. The redirect to the IdP and back to the app with the auth code work. But afterwards, it is displayed that the route cannot be found.
I'm still with the same issue but i found out that the code_verifier is not being sent when doing the token request with the access token. Do you also have the same issue? With postman i have the bad request error not 500 but this is also a issue i think. I try to console log the code_verifier but i get undefined.
@mmillican have you configured the callback url correctly in AWS? I recently tried the generic OIDC provider with AWS Cognito and that worked fine, would you mind sharing your cognito config?
I have the same problem here and would appreciate a solution. The redirect to the IdP and back to the app with the auth code work. But afterwards, it is displayed that the route cannot be found.
This is just a warning by the Nuxt router, but shouldn't have any impact on the actual functionality. In version 0.12.1 there was a visual fix to get rid of that warning. Would be interesting what the actual request error for the token request on the console is.
If meanwhile you solve this issue please tell us how. I'm also with the same problem and cant figure it out.
Thanks a lot.
Would you mind open a separate issue for the OIDC provider you are trying it with and some details?
If meanwhile you solve this issue please tell us how. I'm also with the same problem and cant figure it out. Thanks a lot.
Would you mind open a separate issue for the OIDC provider you are trying it with and some details?
Hey itpropro, thanks for answering. I have opened a issue talking about this and i found a solution, still having problems but at least the 500 dissappeard. You can check it:
Title:
Token request failed - [nuxt-oidc-auth]: [POST] "https://github.com/login/oauth/access_token":
Thanks a lot
@itpropro sorry for the delay. Here's a screenshot of the relevant config for the callback:
I am having an issue getting this to run in my Nuxt project using the generic OIDC provider (with AWS Cognito).
The auth flow initializes fine and I get to the Cognito login page fine. When redirected back to the callback page, I get a
500: Token request failed
error. Looking at the console logs, I see that its failing to find the route for the callback, even though I have the middleware registered. I have compared everything else I can think of to the playground project in the repository.Package versions: Nuxi: ^3.12.0 Nuxt: ^3.12.4 nuxt-oidc-auth: ^0.12.0
Nuxt.config.ts