Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ext {
// google credentials
apiKey = "GOOGLE_API_KEY"
clientId = "GOOGLE_CLIENT_ID"
// google authorization adapter service
adapterUri = "https://10.0.2.2:3001"
discoveryEndpoint = "${adapterUri}/.well-known/openid-configuration"
// discoverable end point defaults
authorizationEndpoint = "https://accounts.google.com/o/oauth2/v2/auth"
tokenEndpoint = "${adapterUri}/oauth2/token"
userInfoEndpoint = "https://www.googleapis.com/oauth2/v3/userinfo"
// client authorization
redirectScheme = "https"
redirectHost = "appauth.example.com"
redirectPath = "/oauth2redirect"
redirectUri = "${redirectScheme}://${redirectHost}${redirectPath}"
authorizationScope = "openid email profile https://www.googleapis.com/auth/books"
// client keystore
secret = "secret"
keystore = "${secret}.keystore"
}
@ilya888ak47

This comment has been minimized.

Copy link

@ilya888ak47 ilya888ak47 commented Jan 1, 2018

****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment