mirror of
https://github.com/eliasrenman/url-shortener.git
synced 2026-03-16 20:16:06 +01:00
15 lines
467 B
Plaintext
15 lines
467 B
Plaintext
[default.oauth.github]
|
|
provider = "GitHub"
|
|
client_id = "<client_id>"
|
|
client_secret = "<client_secret>"
|
|
|
|
# redirect_uri is optional for this library. If left out, it must still be set
|
|
# correctly on the provider's configuration page for the OAuth2 application.
|
|
#redirect_uri = "http://localhost:8000/auth/github"
|
|
|
|
[default.oauth.google]
|
|
provider = "Google"
|
|
client_id = "<client_id>"
|
|
client_secret = "<client_secret>"
|
|
redirect_uri = "http://localhost:8000/auth/google"
|