[release-monitoring] Fix TOML formating #2395
1 changed files with 6 additions and 7 deletions
|
@ -58,8 +58,7 @@ github_authorize_url = "https://github.com/login/oauth/authorize"
|
||||||
# Github URL for API
|
# Github URL for API
|
||||||
github_api_base_url = "https://api.github.com/"
|
github_api_base_url = "https://api.github.com/"
|
||||||
# Additional arguments for Github authentication
|
# Additional arguments for Github authentication
|
||||||
[github_client_kwargs]
|
github_client_kwargs = { scope = "openid profile email" }
|
||||||
scope = "openid profile email"
|
|
||||||
|
|
||||||
# Fedora OAuth backend variables
|
# Fedora OAuth backend variables
|
||||||
# Fedora OAuth client id
|
# Fedora OAuth client id
|
||||||
|
@ -71,9 +70,10 @@ fedora_client_secret = "{{ anitya_stg_fedora_client_secret }}"
|
||||||
# Fedora OAuth authentication endpoint
|
# Fedora OAuth authentication endpoint
|
||||||
fedora_server_metadata_url = "https://id.stg.fedoraproject.org/.well-known/openid-configuration"
|
fedora_server_metadata_url = "https://id.stg.fedoraproject.org/.well-known/openid-configuration"
|
||||||
# Additional arguments for Fedora authentication
|
# Additional arguments for Fedora authentication
|
||||||
[fedora_client_kwargs]
|
fedora_client_kwargs = {
|
||||||
scope = "openid profile email"
|
scope = "openid profile email",
|
||||||
token_endpoint_auth_method = "client_secret_post"
|
token_endpoint_auth_method = "client_secret_post"
|
||||||
|
}
|
||||||
|
|
||||||
# Google OAuth backend variables
|
# Google OAuth backend variables
|
||||||
# Google OAuth client id
|
# Google OAuth client id
|
||||||
|
@ -85,8 +85,7 @@ google_client_secret = "{{ anitya_stg_google_client_secret }}"
|
||||||
# Google OAuth authentication endpoint
|
# Google OAuth authentication endpoint
|
||||||
google_server_metadata_url = "https://accounts.google.com/.well-known/openid-configuration"
|
google_server_metadata_url = "https://accounts.google.com/.well-known/openid-configuration"
|
||||||
# Additional arguments for Google authentication
|
# Additional arguments for Google authentication
|
||||||
[google_client_kwargs]
|
google_client_kwargs = { scope = "openid profile email" }
|
||||||
scope = "openid profile email"
|
|
||||||
{% else %}
|
{% else %}
|
||||||
social_auth_authentication_backends = [
|
social_auth_authentication_backends = [
|
||||||
'social_core.backends.fedora.FedoraOpenId',
|
'social_core.backends.fedora.FedoraOpenId',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue