You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the default VK provider in this package doesn't work correctly, we implemented token retrieval using the VK ID SDK.
However, I have a question: how can I securely pass the data obtained from the SDK to NextAuth.js v5?
Currently, I'm passing the user's token to the CredentialsProvider and retrieving the user_info in the authorize callback, but I'm not sure if this is secure.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Since the default VK provider in this package doesn't work correctly, we implemented token retrieval using the VK ID SDK.
However, I have a question: how can I securely pass the data obtained from the SDK to NextAuth.js v5?
Currently, I'm passing the user's token to the CredentialsProvider and retrieving the user_info in the authorize callback, but I'm not sure if this is secure.
Beta Was this translation helpful? Give feedback.
All reactions