nicholastay / passport-discord

Passport strategy for authentication with Discord (discordapp.com)
ISC License
172 stars 55 forks source link

Any way to use two callbarckurls? #38

Open trekze opened 3 years ago

trekze commented 3 years ago

I've got a site which has two domain names leading to the same underlying nodejs process through a proxy.

Is there any way to have two different callbackurls and choose between them depending on where the incoming request is targetting?

Thank you!

c43721 commented 3 years ago

You can use cookies to redirect based on the incoming request.