-
-
Save skiph/5b654ef0efa4415a09e7a4c2346b7258 to your computer and use it in GitHub Desktop.
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
ext { | |
// modify the apiKey and clientPrefix | |
apiKey = "YOUR_API_KEY" | |
clientPrefix = "YOUR_CLIENT_PREFIX" | |
// google identity service | |
discoveryEndpoint = "https://accounts.google.com/.well-known/openid-configuration" | |
authorizationEndpoint = "https://accounts.google.com/o/oauth2/v2/auth" | |
tokenEndpoint = "https://www.googleapis.com/oauth2/v4/token" | |
userInfoEndpoint = "https://www.googleapis.com/oauth2/v3/userinfo" | |
// google identity client | |
clientId = "${clientPrefix}.apps.googleusercontent.com" | |
redirectScheme = "com.googleusercontent.apps.${clientPrefix}" | |
redirectUri = "com.googleusercontent.apps.${clientPrefix}:/oauth2redirect" | |
authorizationScope = "openid email profile https://www.googleapis.com/auth/books" | |
// client keystore | |
secret = "secret" | |
keystore = "${secret}.keystore" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment