Sample Application that demonstrates the usage of hoauth2-providers to implement social login flow.
- Copy
sample.env.json
to.env.json
for modify it properly. a. The structure is like this. The key is App name that each IdP inhoauth2-providers
has defined a name."the-app-name": { "clientId": "xxx", "clientSecret": "xxx", "scopes": "" }
b.
scopes
are optional. When omit, use default scopes defined in each IdP fromhoauth2-providers
. Otherwise, combine with default scopes. - run
make start