You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/connect/* URLs are using passport.authorize('*'), whose callback URLs are set to http://localhost:8080/auth/*/callback.
My temporary fix is making another set of passport.authorize('*-connect'), whose callback URLs are set to http://localhost:8080/connect/*/callback.
The text was updated successfully, but these errors were encountered:
I've found the same @csehydrogen. There's some black magic in there. Similarly, Twitter doesn't allow multiple callback URLs (but does allow overwriting of the callback, so...). Did you find a neater way to get /connect/ callbacks working?
@hagen No, I didn't. 😢 Those duplicated codes still tickle me.
I think that this should be fixed in passport or SNS APIs, not in this repository. (by supporting different callbacks for authentication & authorization, etc.)
But, at least, repository users should be informed about this issue, because it is tutorial.
/connect/*
URLs are usingpassport.authorize('*')
, whose callback URLs are set tohttp://localhost:8080/auth/*/callback
.My temporary fix is making another set of
passport.authorize('*-connect')
, whose callback URLs are set tohttp://localhost:8080/connect/*/callback
.The text was updated successfully, but these errors were encountered: