next-auth add sign in using github button to page instead of redirect

Hey, just like in the title, I want to add sign in button in the home page instead of default redirect page is it possible to do? Or is it just how next-auth works? Sorry if it is a stupid question but I couldn't find an answer to that.
5 Replies
barry
barry2y ago
I don’t even get what you mean
Paweł
PawełOP2y ago
Well in original t3 start example you click on sign in and it takes you to another api page i assume generated automatically by next-auth where you buttons to sign in with provider, but i would like to skip this page and just add sign in with github button to my app
barry
barry2y ago
You sure just doing signIn(provider) doesn't skip that?
Paweł
PawełOP2y ago
I checked it and it just works... I'm sorry to bother you lol. I searched in the wrong direction ^^
barry
barry2y ago
No worries
Want results from more Discord servers?
Add your server