{"id":18116815,"url":"https://github.com/malopolese/nestjs-oauth2-google-example","last_synced_at":"2026-04-24T16:31:50.965Z","repository":{"id":114294528,"uuid":"434951164","full_name":"MaloPolese/nestjs-oauth2-google-example","owner":"MaloPolese","description":"Example of the implementation of google oauth2 with NestJs","archived":false,"fork":false,"pushed_at":"2021-12-04T23:16:39.000Z","size":245,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T10:30:53.279Z","etag":null,"topics":["google","nestjs","oauth2","sqllite3","typescript"],"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/MaloPolese.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-04T16:24:29.000Z","updated_at":"2024-08-31T21:25:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"69de65ed-95cf-4bc8-ab29-7c72391a5c69","html_url":"https://github.com/MaloPolese/nestjs-oauth2-google-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MaloPolese/nestjs-oauth2-google-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaloPolese%2Fnestjs-oauth2-google-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaloPolese%2Fnestjs-oauth2-google-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaloPolese%2Fnestjs-oauth2-google-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaloPolese%2Fnestjs-oauth2-google-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaloPolese","download_url":"https://codeload.github.com/MaloPolese/nestjs-oauth2-google-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaloPolese%2Fnestjs-oauth2-google-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32230881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["google","nestjs","oauth2","sqllite3","typescript"],"created_at":"2024-11-01T04:15:11.585Z","updated_at":"2026-04-24T16:31:50.947Z","avatar_url":"https://github.com/MaloPolese.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description\n\nExample of the implementation of [google oauth2](https://developers.google.com/identity/protocols/oauth2) with [NestJs](https://nestjs.com/)\n\n## Installation\n\n```bash\n$ npm ci\n```\n\nComplete the .env file\n\n```dosini\n# Example: 1234.apps.googleusercontent.com\nAUTH_GOOGLE_KEY= ...\n\n# Example: 1234\nAUTH_GOOGLE_SECRET= ...\n\n# Example: http://localhost:3000/oauth2/callback\nGOOGLE_CALLBACK_URL= ...\n\n# Example: http://localhost:4200\nFRONTEND_URL= ...\n```\n\n[Obtain OAuth 2.0 credentials](https://developers.google.com/identity/protocols/oauth2#1.-obtain-oauth-2.0-credentials-from-the-dynamic_data.setvar.console_name-.)\n\n## Running the app\n\n```bash\n# watch mode\n$ npm run start:dev\n```\n\n## Usage\n\n```bash\n$ curl --location --request GET 'localhost:3000/oauth2/login/google'\n```\n\n## About me\n\n- Author - [Malo Polese](https://www.linkedin.com/in/malo-polese/)\n- Website - [malo-polese.fr](https://malo-polese.fr/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalopolese%2Fnestjs-oauth2-google-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalopolese%2Fnestjs-oauth2-google-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalopolese%2Fnestjs-oauth2-google-example/lists"}