Replies: 4 comments 2 replies
-
This provider configuration works in next-auth v4, but results in the error above in v5. error { |
Beta Was this translation helpful? Give feedback.
-
@exurban - were you able to find solution? |
Beta Was this translation helpful? Give feedback.
-
Having exactly the same problem. @exurban any chance you can share a solution? |
Beta Was this translation helpful? Give feedback.
-
For me the fix was update the
I have no idea if this is still secure though :) |
Beta Was this translation helpful? Give feedback.
-
I'm trying to create a custom provider for linear.app. I'm getting an error of Invalid grant: code verifier is invalid but I think it's more likely related to a problem with my custom provider configuration.
Linear is sending a GET request to
http://localhost:3000/api/auth/callback/linear?code=...state=...
My understanding is that NextAuth should exchange that code for a token, but the callback function is failing here before it gets a chance to do so.
My configuration is:
Documentation for Linear OAuth is at: https://developers.linear.app/docs/oauth/authentication
I'm using
Beta Was this translation helpful? Give feedback.
All reactions