Skip to content

Commit

Permalink
Merge pull request #1265 from pcanham/feature/expand-sso-dockercompos…
Browse files Browse the repository at this point in the history
…e-example

Add in oauth scope environment variable to docker-compose example
  • Loading branch information
Frooodle authored May 22, 2024
2 parents c4bfb44 + 841b8a6 commit 1d4db64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exampleYmlFiles/docker-compose-latest-security-with-sso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ services:
DOCKER_ENABLE_SECURITY: "true"
SECURITY_ENABLELOGIN: "true"
SECURITY_OAUTH2_ENABLED: "true"
SECURITY_OAUTH2_AUTOCREATEUSER: "true" # This is set to true to allow auto-creation of non-existing users in Striling-PDF
SECURITY_OAUTH2_AUTOCREATEUSER: "true" # This is set to true to allow auto-creation of non-existing users in Stirling-PDF
SECURITY_OAUTH2_ISSUER: "https://accounts.google.com" # Change with any other provider that supports OpenID Connect Discovery (/.well-known/openid-configuration) end-point
SECURITY_OAUTH2_CLIENTID: "<YOUR CLIENT ID>.apps.googleusercontent.com" # Client ID from your provider
SECURITY_OAUTH2_CLIENTSECRET: "<YOUR CLIENT SECRET>" # Client Secret from your provider
SECURITY_OAUTH2_SCOPES: "openid,profile,email" # Expected OAuth2 Scope
PUID: 1002
PGID: 1002
UMASK: "022"
Expand Down

0 comments on commit 1d4db64

Please sign in to comment.