How does the callback endpoint work? #2648
Unanswered
leo-petrucci
asked this question in
Help
Replies: 1 comment 5 replies
-
I will assume you will be using an OAuth provider. In that case, contacting the If you are going to use the Credentials or Email provider, that might be different. Will you use one of these? |
Beta Was this translation helpful? Give feedback.
5 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.
-
I'm writing up a guide on using Next Auth with Capacitor, and while my method works its:
The big problem is that Android's in-app browser is just an instance of Chrome, so its cookies are entirely separate from the App's cookies. So I can essentially open the browser and login, but then the callback will just set cookies for the browser.
So I'm wondering how the callback endpoint works exactly? From the docs I can see I can
GET
it, what query params does it take to actually issue the right tokens? I checked what I think is the script responsible for it, but I'm unclear on how thereq
options are passed to it.I'm thinking that if I can just hit the callback endpoint then I might be able to:
Beta Was this translation helpful? Give feedback.
All reactions