Created
October 17, 2020 19:33
-
-
Save bonzofenix/4df54af4eb7e9660eeeae41bfa21064f to your computer and use it in GitHub Desktop.
enable-google-provider.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ load("@ytt:overlay", "overlay") | |
#@overlay/match by=overlay.subset({"metadata": {"name": "uaa-config"}}), expects=1 | |
--- | |
#@overlay/match-child-defaults missing_ok=True | |
data: | |
uaa.yml: | |
login: | |
oauth: | |
providers: | |
google: | |
type: oidc1.0 | |
authUrl: https://accounts.google.com/o/oauth2/v2/auth | |
tokenUrl: https://oauth2.googleapis.com/token | |
tokenKeyUrl: https://www.googleapis.com/oauth2/v3/certs | |
issuer: https://accounts.google.com | |
redirectUrl: uaa.my-cf-domain.com | |
scopes: | |
- openid | |
linkText: Login with google | |
showLinkText: true | |
addShadowUserOnLogin: true | |
relyingPartyId: myID | |
relyingPartySecret: mySecret | |
skipSslValidation: true | |
attributeMappings: | |
user_name: email |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment