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
But this code really not working because inside Strategy constructor, 'name' alway equal 'google'.
I think I will custom 'name' is a input in Strategy constructor. Does that will destabilize the �passport and not working?
The text was updated successfully, but these errors were encountered:
You must make sure that wherever you call authenticate or use functions you reference your custom strategy name. I encapsulated my strategies in a class with a strategy property to be able to call passport.authenticate(this.strategy, ....) and keep this nice and consistent
How to add multiple callback config with same cliendId?
I have some code:
I want to register two instance 'GoogleStrategy' with two 'callbackURL' use for web and desktop app:
With each platform will have difference url for request authenticate:
We register callback from Google with each type 'google-web' and 'google-desktop':
But this code really not working because inside
Strategy
constructor, 'name' alway equal 'google'.I think I will custom 'name' is a input in Strategy constructor. Does that will destabilize the �passport and not working?
The text was updated successfully, but these errors were encountered: