Replies: 2 comments
-
Create another NextAuth instance with empty provider array worked for me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Tigatok Hi, I know that is not related to the post, but do you have working apple provider only with client id and client secret? if not can you provide your working apple configuration? I will appreciate your help |
Beta Was this translation helpful? Give feedback.
0 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.
-
So I am migrating from NextAuth v4 to v5. I have Apple, Google, and magic link providers. Google and ML work fine. Apple, however, requires that we provide a signed JWT. The docs and examples have always just shown a 'static' JWT, but in the event it expires, your app may no longer work. To solve this, we can sign our own JWT's. It seems however that due to some of the changes in v5, it no longer allows for this to happen. So I am trying to figure out how to best accomplish this now.
But I can't async await that due to no
top level async await
Here is my getAppleToken function:
Any thoughts?
I deploy this on Vercel, so ideally works with serverless functionality.
Beta Was this translation helpful? Give feedback.
All reactions