Files
url-shortener/Rocket.toml.example
2025-03-20 10:09:57 +01:00

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"