docker: add --scope flag to fix GH 500 errors

https://github.com/oauth2-proxy/oauth2-proxy/issues/1669

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-06-19 14:54:13 +02:00
parent 61e77e7167
commit b8f73add0f
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
2 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ oauth_secret: ~
# Extra
oauth_logo_url: 'https://status.im/img/logo.svg'
oauth_scope: 'user:email'
# Consul
oauth_consul_service_name: 'oauth-proxy'

View File

@ -18,6 +18,7 @@ services:
--provider='{{ oauth_provider }}'
{% if oauth_provider == "github" %}
--github-org='{{ oauth_github_org | mandatory }}'
--scope='{{ oauth_scope }}'
--email-domain='*'
{% elif oauth_provider == "google" %}
--email-domain='{{ oauth_google_domain | mandatory }}'