{"id":15324320,"url":"https://github.com/nikhilnarayanan623/go-gin-google-oauth2","last_synced_at":"2025-07-02T08:06:15.197Z","repository":{"id":229753290,"uuid":"629443109","full_name":"nikhilnarayanan623/go-gin-google-oauth2","owner":"nikhilnarayanan623","description":"Authenticate with user gmail using Google OAuth2","archived":false,"fork":false,"pushed_at":"2023-04-18T10:40:16.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T14:52:36.603Z","etag":null,"topics":["clean-code","go","goauth2","golang"],"latest_commit_sha":null,"homepage":"","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/nikhilnarayanan623.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":"2023-04-18T10:21:38.000Z","updated_at":"2023-06-12T06:36:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a0f6b64-3e0f-4b18-9606-9403299d6922","html_url":"https://github.com/nikhilnarayanan623/go-gin-google-oauth2","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"714615d9a489c2321f5a8ccef963f7e087748418"},"previous_names":["nikhilnarayanan623/go-gin-google-oauth2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nikhilnarayanan623/go-gin-google-oauth2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilnarayanan623%2Fgo-gin-google-oauth2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilnarayanan623%2Fgo-gin-google-oauth2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilnarayanan623%2Fgo-gin-google-oauth2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilnarayanan623%2Fgo-gin-google-oauth2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikhilnarayanan623","download_url":"https://codeload.github.com/nikhilnarayanan623/go-gin-google-oauth2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilnarayanan623%2Fgo-gin-google-oauth2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263099438,"owners_count":23413622,"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":["clean-code","go","goauth2","golang"],"created_at":"2024-10-01T09:25:52.935Z","updated_at":"2025-07-02T08:06:14.652Z","avatar_url":"https://github.com/nikhilnarayanan623.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `Google Authentication` Implimentaion Using `Go programing` with `gin` framework and `goth google` package\n\n# Used Packages \n1. [GIN](github.com/gin-gonic/gin) is a web framework written in Go (Golang). It features a martini-like API with performance that is up to 40 times faster thanks to httprouter. If you need performance and good productivity, you will love Gin.\n2.[GOTH](\"github.com/markbates/goth\") Package goth provides a simple, clean, and idiomatic way to write authentication packages for Go web applications.\n\u003c!-- 6. [swag](https://github.com/swaggo/swag) converts Go annotations to Swagger Documentation 2.0 with [gin-swagger](https://github.com/swaggo/gin-swagger) and [swaggo files](github.com/swaggo/files) --\u003e\n\n# To Use This `go-gin-google-oauth2` Implimentaion\n\n# Follow these steps\n\n1. clone my github `go-gin-google-oauth2` repository to your system\n2. after cloning use follwing bash commands\n\n``` bash commands\n## these bash comands are set-up on makefilie ##\n## if you did't install make then install make or use `go run ./cmd/api/`\n\n# Step 1 :  Navigate into project directory\ncd ./go-gin-google-oauth2\n\n# Step 2 : Install needed dependencies\nmake deps \n#or\ngo mod tidy\n\n# Step 3 : Setup Env files\n    1.vist `https://console.cloud.google.com/apis/dashboard` for creating google client_id and client_secret\n    #setup env\n    2.GOAUTH_CLIENT_ID=\"Your Client Secret ID\"\n    3.GOAUTH_CLENT_SECRET=\"Your Client Secret\"\n\n\n# Step 4 : Run the Server\nmake run\n\n# check server.go for see the api's\n# open a browser and visit `localhost:8000/login`\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilnarayanan623%2Fgo-gin-google-oauth2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikhilnarayanan623%2Fgo-gin-google-oauth2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilnarayanan623%2Fgo-gin-google-oauth2/lists"}