File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,17 +47,20 @@ tinyauth:
4747 environment :
4848 - SECRET=some-random-32-chars-string
4949 - APP_URL=https://tinyauth.example.com
50- - GENERIC_SCOPES=email
50+ - GENERIC_SCOPES="openid profile email preferred_username groups"
5151 - GENERIC_AUTH_URL=https://zitadel.example.com/oauth/v2/authorize
5252 - GENERIC_TOKEN_URL=https://zitadel.example.com/oauth/v2/token
5353 - GENERIC_USER_URL=https://zitadel.example.com/oidc/v1/userinfo
5454 - GENERIC_CLIENT_ID= # Paste from previous step
5555 - GENERIC_CLIENT_SECRET= # Paste from previous step
5656 - GENERIC_NAME=Zitadel
57+ - OAUTH_AUTO_REDIRECT=generic
58+ - DISABLE_CONTINUE=true
5759 labels :
5860 traefik.enable : true
5961 traefik.http.routers.tinyauth.rule : Host(`tinyauth.example.com`)
6062 traefik.http.middlewares.tinyauth.forwardauth.address : http://tinyauth:3000/api/auth/traefik
63+ traefik.http.middlewares.tinyauth.forwardauth.authResponseHeaders : Remote-User, Remote-Email, Remote-Name, Remote-Groups
6164` ` `
6265
6366::: warning
You can’t perform that action at this time.
0 commit comments