{"id":38036857,"url":"https://github.com/zaker/oauth2local","last_synced_at":"2026-01-20T17:49:15.357Z","repository":{"id":137752922,"uuid":"176914289","full_name":"zaker/oauth2local","owner":"zaker","description":"An oauth client providing authenticated tokens to local processes.","archived":false,"fork":false,"pushed_at":"2025-07-22T13:52:56.000Z","size":7686,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-01T12:16:47.257Z","etag":null,"topics":["oauth2"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2019-03-21T09:38:36.000Z","updated_at":"2025-07-22T13:51:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"13a33eaf-47dd-4a84-9e29-dd369869edb8","html_url":"https://github.com/zaker/oauth2local","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zaker/oauth2local","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaker%2Foauth2local","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaker%2Foauth2local/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaker%2Foauth2local/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaker%2Foauth2local/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaker","download_url":"https://codeload.github.com/zaker/oauth2local/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaker%2Foauth2local/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28482003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["oauth2"],"created_at":"2026-01-16T19:50:24.563Z","updated_at":"2026-01-16T19:50:24.640Z","avatar_url":"https://github.com/zaker.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://dev.azure.com/lambdaville/oauth2local/_apis/build/status/zaker.oauth2local?branchName=master)](https://dev.azure.com/lambdaville/oauth2local/_build/latest?definitionId=1\u0026branchName=master)\n\n# oauth2local\n\nAn oauth client providing authenticated tokens to local processes.\n\n```plain\noauth2local is providing oauth2 authenticated tokens to local processes\n\nUsage:\n  oauth2local [command]\n\nAvailable Commands:\n  callback    Send callback url to sovereign\n  defaults    Writes default config values to config file\n  help        Help about any command\n  register    Register app as url handler for custom url\n  serve       serve a local auth provider\n  token       Gets access token from the local server instance\n\nFlags:\n      --config string   config file (default is $HOME/.oauth2local.yaml)\n  -h, --help            help for oauth2local\n      --verbose         log to console to console\n\nUse \"oauth2local [command] --help\" for more information about a command.\n```\n\n## How to setup\n\nRunning the command should register the application as a custom url handler for \"loc-auth://\"\n\n```bash\noauth2local register\n```\n\nthis may need administrative privileges on windows\n\nTo test if the registration is successfull, run this command and see if there is a response from the server\n\n```bash\noaut2local serve \u0026\u0026 xdg-open loc-auth://callback?code=foo\n```\n\nGetting a token when the server is up and running\n\n```bash\noaut2local token\n```\n\n## Build from source\n\n### Dependencies\n\n- Go \u003e=v1.19\n- Protoc \u003e=v3.7\n\n### Generate GRPC server/client\n\n```bash\nprotoc --go_out=ipc/localauth --go_opt=paths=source_relative --go-grpc_out=ipc/localauth --go-grpc_opt=paths=source_relative .\\ipc\\locauth.proto\n```\n\n### Build\n\n```bash\ngo build -v .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaker%2Foauth2local","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaker%2Foauth2local","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaker%2Foauth2local/lists"}