{"id":15101746,"url":"https://github.com/savareyhano/elysia-google-oauth","last_synced_at":"2026-01-19T07:02:46.186Z","repository":{"id":253289000,"uuid":"842550539","full_name":"savareyhano/elysia-google-oauth","owner":"savareyhano","description":"Implementation of Google OAuth using no libraries and using libraries with Elysia and Bun","archived":false,"fork":false,"pushed_at":"2024-08-16T17:03:24.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T11:14:01.990Z","etag":null,"topics":["bun","elysia","elysiajs","google","google-oauth","google-oauth2","googleapis","oauth","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/savareyhano.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":"2024-08-14T15:22:05.000Z","updated_at":"2024-08-16T07:31:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"c08366d4-c9c6-45b8-adce-5125d26f06dd","html_url":"https://github.com/savareyhano/elysia-google-oauth","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"519a7d9775a6768c28652fbcd93669f59f85277b"},"previous_names":["savareyhano/elysia-google-oauth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/savareyhano/elysia-google-oauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savareyhano%2Felysia-google-oauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savareyhano%2Felysia-google-oauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savareyhano%2Felysia-google-oauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savareyhano%2Felysia-google-oauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/savareyhano","download_url":"https://codeload.github.com/savareyhano/elysia-google-oauth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savareyhano%2Felysia-google-oauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28562691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["bun","elysia","elysiajs","google","google-oauth","google-oauth2","googleapis","oauth","oauth2"],"created_at":"2024-09-25T18:29:29.221Z","updated_at":"2026-01-19T07:02:46.169Z","avatar_url":"https://github.com/savareyhano.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elysia OAuth Google\n\n## Web server applications\n\nThe authorization sequence begins when your application redirects a browser to a Google URL; the URL includes query parameters that indicate the type of access being requested. Google handles the user authentication, session selection, and user consent. The result is an authorization code, which the application can exchange for an access token and a refresh token.\n\nThe application should store the refresh token for future use and use the access token to access a Google API. Once the access token expires, the application uses the refresh token to obtain a new one.\n\n![](https://developers.google.com/static/identity/protocols/oauth2/images/flows/authorization-code.png)\n\nUseful references:\n- [OAuth 2.0 Playground](https://developers.google.com/oauthplayground/)\n- [OAuth 2.0 Scopes for Google APIs](https://developers.google.com/identity/protocols/oauth2/scopes)\n- [OpenID Connect](https://developers.google.com/identity/openid-connect/openid-connect)\n- [Using OAuth 2.0 for Web Server Applications](https://developers.google.com/identity/protocols/oauth2/web-server)\n\n## Development\nTo start the development server run:\n```bash\nbun run dev # for running the google oauth without using any libraries\nbun run dev:arctic # for running the google oauth using arctic library\nbun run dev:googleapis # for running the google oauth using googleapis library\n```\n\nOpen http://localhost:3000/auth/google with your browser to see the result.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavareyhano%2Felysia-google-oauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsavareyhano%2Felysia-google-oauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavareyhano%2Felysia-google-oauth/lists"}