{"id":18777538,"url":"https://github.com/onify/blueprint-google-api-auth","last_synced_at":"2025-10-05T16:57:35.422Z","repository":{"id":113735829,"uuid":"359769769","full_name":"onify/blueprint-google-api-auth","owner":"onify","description":"Onify Blueprint: Authenticate against Google API with service account","archived":false,"fork":false,"pushed_at":"2022-06-27T05:58:49.000Z","size":619,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-26T14:15:48.925Z","etag":null,"topics":["blueprint","bpmn","flow","google","oauth2","onify","onify-blueprints","rest-api"],"latest_commit_sha":null,"homepage":"https://onify.co","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-20T10:10:17.000Z","updated_at":"2022-06-27T05:52:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"51a08e62-d7a8-4661-be5d-809b1b7661df","html_url":"https://github.com/onify/blueprint-google-api-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/onify/blueprint-google-api-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onify%2Fblueprint-google-api-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onify%2Fblueprint-google-api-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onify%2Fblueprint-google-api-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onify%2Fblueprint-google-api-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onify","download_url":"https://codeload.github.com/onify/blueprint-google-api-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onify%2Fblueprint-google-api-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278486276,"owners_count":25994941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blueprint","bpmn","flow","google","oauth2","onify","onify-blueprints","rest-api"],"created_at":"2024-11-07T20:11:36.072Z","updated_at":"2025-10-05T16:57:35.404Z","avatar_url":"https://github.com/onify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Onify Blueprints](https://files.readme.io/8ba3f14-onify-blueprints-logo.png)\n\n[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)\n![Test suite](https://github.com/onify/blueprint-google-api-auth/workflows/Test%20suite/badge.svg)\n\n# Onify Blueprint: Authenticate against Google API with service account\n\nThis Blueprint shows how to authenticate with Google API using a service account. From there you can then access anything via the Googles API like users, chromebooks, resources or mobile devices.\n\n![Onify Blueprint: Authenticate against Google API with service account](blueprint.jpg \"Blueprint\")\n\n## Requirements\n\n* Onify Hub v2\n* Onify Flow license\n* Camunda Modeler 4.4 or later \n* Google G Suite\n\n## Included\n\n* Settings\n* Workflow (Flow)\n\n## Setup\n\n### Google\n\nIn order to index information from Google we need to setup a couple of things.\n\n1. Create a new Google cloud project (optional)\n2. Create a service account\n3. Create a private key (json) for the service account\n4. Activate Admin SDK service for the project\n5. Enable G Suite domain-wide delegation\n6. Delegate domain-wide authority to your service account\n\n### Settings\n\nAdd the following settings via `/admin/settings`.\n\n|Key|Name|Description|Value|Type|Tag|Role|\n|---|----|-----------|-----|----|---|----|\n|google_customerid|Google customer id|Customer id where the users are located|xxxxxxx|string|google|admin|\n|google_serviceaccount_email|Google service account email|Service account email|*.iam.gserviceaccount.com|string|google|admin|\n|google_serviceaccount_impersonate_email|Google service account impersonate email|What user to impersonate. Must be valid user in G Suite|*@onify.co|string|google|admin|\n|google_serviceaccount_privatekey|Google service account private key|The private key for the service account|----BEGIN PRIVATE KEY-----***|string|google|admin|\n\n### Flows\n\n#### Configure\n\n* Modify the `scope` for the authentication request\n* Add your own API request in the end\n\n#### Deploy\n\n1. Open `blueprint-google-api-auth.bpmn` in Camunda Modeler\n2. Customize the flow (optional)\n3. Click `Deploy current diagram` and follow the steps\n\n#### Run \n\nTo test and run the flow, click `Start current diagram`\n\n## Support\n\n* Community/forum: https://support.onify.co/discuss\n* Documentation: https://support.onify.co/docs\n* Support and SLA: https://support.onify.co/docs/get-support\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonify%2Fblueprint-google-api-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonify%2Fblueprint-google-api-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonify%2Fblueprint-google-api-auth/lists"}