Replies: 1 comment 3 replies
-
so could you please specify special mumbo-jumbo? 😄 do you want to do it before the request to the oauth provider? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Imagine a simple situation.
You have a button like this:
<button onClick={() => signIn('spotify', { action: 'sing_in_no_register' })}>sing_in_no_register</button>
When I click on it, as per function description I pass 'action' to the authorizationParams.
There are two questions:
NextAuth
callbacks
signIn
functionFull disclosure:
My goal is to do special mumbo-jumbo (like send additional API calls or open popus in UI) based on additional information. Of course, I can save everything to some kind of storage (cookie, localstorage), but maybe there is a better way.
UPD. Using
he third argument of signIn().
bids same resultsBeta Was this translation helpful? Give feedback.
All reactions