Call Google APIs (Gmail, Calendar, Drive, Sheets) as the signed-in Google user.
This profile ships with Kirak. Add "integrations" to modules in kirak.json, then name the profile as below. There is nothing to download, and a copy in your project's integrations/ folder is an error.
| Variable | Holds |
|---|---|
KIRAK_INTEGRATION_GOOGLE_CLIENT_SECRET | The OAuth client secret from the vendor's console. Secret: keep it out of kirak.json and out of source control. |
KIRAK_AUTH_ENCRYPTION_KEYS | Encrypts stored tokens. Shared by every integration; the module refuses to start without it. |
The names follow the integration's name in kirak.json (google here). Name it something else, such as google_sales, and the variables change to match.
Register this as the redirect (callback) URL in the vendor's console, with your app's address in place of <your-app> (the base_url in kirak.json):
https://<your-app>/integrations/google/callback
openid (Sign in with an OpenID Connect identity), email (See the user’s email address)https://<your-app>/integrations/google/callback under Authorized redirect URIs.integrations.providers.google.client_id, and the client secret in the environment as KIRAK_INTEGRATION_GOOGLE_CLIENT_SECRET. Never put the secret in kirak.json.The vendor's own guide · Instructions out of date? ·Suggest an edit
{
"integrations": {
"providers": {
"google": {
"type": "oauth2",
"profile": "google",
"client_id": "your-client-id",
"scope": [
"openid",
"email"
]
}
}
}
}Merged into the profile: scope replaces the profile's default scopes.
Report a problem ·Suggest an edit to profile.json ·Add a profile ·Vendor docs the profile was checked against
Product names and logos are trademarks of their respective owners. Their use does not imply endorsement. To ask for this icon to be removed, email trademark@kirak.io.