jaykay12/Auth-API

oauth failing on deployment for github

Opened this issue · 0 comments

Github

No support for multiple callback URLs as of now.

The bad news is we can't insert more than one callback to GitHub OAuth setting.
Good news is that we can use multiple callback sub-url under our callback url, then you can redirect(proxy) it to any callback url that you want.

Refer to the Stackoverflow Question


One quick fix is having 2 different GitHub OAuth Apps, one for prodcution and other for localhost. But that's the last resort available.