{"id":15695991,"url":"https://github.com/mgechev/google-oauth2-node","last_synced_at":"2025-05-08T22:43:08.917Z","repository":{"id":57147185,"uuid":"127704777","full_name":"mgechev/google-oauth2-node","owner":"mgechev","description":"Client for OAuth2 authentication for Google APIs (Google Analytics, GMail, Google Docs, etc.)","archived":false,"fork":false,"pushed_at":"2018-11-28T23:18:37.000Z","size":21,"stargazers_count":8,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-08T22:43:01.666Z","etag":null,"topics":["google","google-api","oauth2"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mgechev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-02T05:02:54.000Z","updated_at":"2024-10-06T08:26:18.000Z","dependencies_parsed_at":"2022-09-06T14:51:36.581Z","dependency_job_id":null,"html_url":"https://github.com/mgechev/google-oauth2-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fgoogle-oauth2-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fgoogle-oauth2-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fgoogle-oauth2-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fgoogle-oauth2-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgechev","download_url":"https://codeload.github.com/mgechev/google-oauth2-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253160727,"owners_count":21863624,"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","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":["google","google-api","oauth2"],"created_at":"2024-10-03T19:06:19.891Z","updated_at":"2025-05-08T22:43:08.893Z","avatar_url":"https://github.com/mgechev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Google OAuth2 Client\n\nUsing this client you can get a refresh and access tokens for using Google APIs. The client is specifically designed to be used in node.js, as an \"Installed Application\".\n\n## Installation\n\n```bash\nnpm i google-oauth2-node --save\n```\n\n## Usage\n\n```ts\nimport { auth } from 'google-oauth2-node';\n\nconst clientId = '...';\nconst clientSecret = '...';\nconst scope = 'https://www.googleapis.com/auth/analytics.readonly';\n\nauth({ clientId, clientSecret, scope }).then(res =\u003e console.log(res), err =\u003e console.error(err));\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgechev%2Fgoogle-oauth2-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgechev%2Fgoogle-oauth2-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgechev%2Fgoogle-oauth2-node/lists"}