{"id":19404394,"url":"https://github.com/nicolasparada/go-oauth2-client-short","last_synced_at":"2026-06-12T06:05:31.971Z","repository":{"id":134391445,"uuid":"527283988","full_name":"nicolasparada/go-oauth2-client-short","owner":"nicolasparada","description":"Simple oauth2 client with Go","archived":false,"fork":false,"pushed_at":"2022-08-21T19:24:49.000Z","size":18,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-18T06:08:19.140Z","etag":null,"topics":["oauth2","oauth2-client","social-login"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/shorts/ychqnQCKCg8","language":"Go","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/nicolasparada.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}},"created_at":"2022-08-21T17:51:13.000Z","updated_at":"2024-08-02T03:29:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e2e11ac-17e2-48df-a022-2e9185b80f86","html_url":"https://github.com/nicolasparada/go-oauth2-client-short","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"dbd17c47864126429abc332ac14b01827c1c48ff"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nicolasparada/go-oauth2-client-short","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolasparada%2Fgo-oauth2-client-short","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolasparada%2Fgo-oauth2-client-short/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolasparada%2Fgo-oauth2-client-short/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolasparada%2Fgo-oauth2-client-short/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicolasparada","download_url":"https://codeload.github.com/nicolasparada/go-oauth2-client-short/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolasparada%2Fgo-oauth2-client-short/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34231237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":["oauth2","oauth2-client","social-login"],"created_at":"2024-11-10T11:34:32.293Z","updated_at":"2026-06-12T06:05:31.953Z","avatar_url":"https://github.com/nicolasparada.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go OAuth2 Client\n\nSource code of \u003chttps://www.youtube.com/shorts/ychqnQCKCg8\u003e.\n\nIt's just a simple demo of how to make an OAuth2 client. In this specific example using GitHub.\n\nGo to \u003chttps://github.com/settings/applications/new\u003e\nand create a new OAuth application.\nSet the redirect callback URI to \u003chttp://localhost:3000/api/v1/oauth2/github/callback\u003e.\nCopy the client ID and secret and put them in a `.env` file like so:\n\n```env\nGITHUB_CLIENT_ID=YOUR_CLIENT_ID_HERE\nGITHUB_CLIENT_SECRET=YOUR_CLIENT_SECRET_HERE\n```\n\nBuild and run:\n\n```bash\ngo build\n./go-oauth2-client-short\n```\n\nVisit \u003chttp://localhost:3000/api/v1/oauth2/github/redirect\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolasparada%2Fgo-oauth2-client-short","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolasparada%2Fgo-oauth2-client-short","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolasparada%2Fgo-oauth2-client-short/lists"}