-
Notifications
You must be signed in to change notification settings - Fork 630
Open
Description
is it possible to have two callback URL in a single we app, adding more context would better explain me. So, my application has two types of user models (accounts [the usual "users" ] & agents) with diff. UI but running on the same backend. The endpoint would look like this;
mysite.com/account/google/callback
&
mysite.com/agent/google/callback
for the same provider (google).
i tried adding the two callback here but it not going through even after i included the second on the Google OUATH2 API console. Is this a limitation of the gothic (i read somehow it simpleton, so no two instance can exist -if that can be a solution though) Or this would'nt be possible by the spec itself? thanks.
gothic.Store = store
goth.UseProviders(
google.New(cfg.LoginProvider.Google.ClientKey, cfg.LoginProvider.Google.Secret, callbackURL),
)Metadata
Metadata
Assignees
Labels
No labels