Configure allowed callback urls:
https://pad.server.com/auth/oauth2/callback
http://pad.server.com/auth/oauth2/callback
Configure scopes:
openid profile email
add the following ENV vars to the docker-compose.yml
- CMD_OAUTH2_BASEURL=https://auth.server.com
- CMD_OAUTH2_USER_PROFILE_URL=https://auth.server.com/userinfo
- CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR=nickname
- CMD_OAUTH2_USER_PROFILE_DISPLAY_NAME_ATTR=given_name
- CMD_OAUTH2_USER_PROFILE_EMAIL_ATTR=email
- CMD_OAUTH2_TOKEN_URL=https://auth.server.com/token
- CMD_OAUTH2_AUTHORIZATION_URL=https://auth.server.com/authorize?scope=openid%20profile%20email
- CMD_OAUTH2_CLIENT_ID=16xxxx
- CMD_OAUTH2_CLIENT_SECRET=1eXXXXXXXXX8d