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:
parent
61e77e7167
commit
b8f73add0f
|
@ -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'
|
||||
|
|
|
@ -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 }}'
|
||||
|
|
Loading…
Reference in New Issue