Can I override the redirect to /api/auth/callback/ when using Rest? #4319
-
I need to use Next Auth's rest endpoints to authenticate. From asking in previous thread I was able to get Next Auth to return the authorization URL for my provider, but I'm having trouble figuring out if I can customise the
What If I wanted to redirect somewhere else, and then POST and GET to EditLooking at the source it looks like |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I customize the
I have troubles though, when next-auth further on tries to fetch the id token. See more here #4668. |
Beta Was this translation helpful? Give feedback.
-
I figured out how to use a custom
|
Beta Was this translation helpful? Give feedback.
I figured out how to use a custom
redirect_uri
on signin. The value isn't to be passed to the body, but rather appended as a query to the url.