Apple provider always redirects to 'baseUrl' (NEXTAUTH_URL) instead of 'callbackUrl' #1704
Unanswered
yuzhakovvv
asked this question in
Help
Replies: 1 comment 2 replies
-
I am having the same issue. I believe this is because Apple redirects back to IMO using a cookie to store the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When user uses Apple provider he's redirected to
baseUrl
(NEXTAUTH_URL
) instead ofcallbackUrl
that was passed tosignIn()
method. Google provider works as expected and redirects tocallbackUrl
.Sign In is successful as app gets user data from Apple.
callbacks
work as expected. Customcallbacks.redirect
returns correctcallbackUrl
.What can affect
callbackUrl
to be changed tobaseUrl
(NEXTAUTH_URL
) aftercallbacks.redirect
? Maybe you can point a line in the source code?Beta Was this translation helpful? Give feedback.
All reactions