{"id":15923116,"url":"https://github.com/256dpi/oauth2","last_synced_at":"2025-10-23T17:32:16.915Z","repository":{"id":57481337,"uuid":"70530562","full_name":"256dpi/oauth2","owner":"256dpi","description":"A fundamental and extendable OAuth2 library for Go.","archived":false,"fork":false,"pushed_at":"2021-09-15T14:44:54.000Z","size":353,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-19T03:45:50.164Z","etag":null,"topics":["go","golang","oauth2"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/256dpi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-10T21:31:54.000Z","updated_at":"2024-10-01T21:53:19.000Z","dependencies_parsed_at":"2022-09-26T17:50:44.460Z","dependency_job_id":null,"html_url":"https://github.com/256dpi/oauth2","commit_stats":null,"previous_names":["gonfire/oauth2"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/256dpi%2Foauth2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/256dpi%2Foauth2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/256dpi%2Foauth2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/256dpi%2Foauth2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/256dpi","download_url":"https://codeload.github.com/256dpi/oauth2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245269674,"owners_count":20587823,"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":["go","golang","oauth2"],"created_at":"2024-10-06T20:41:40.003Z","updated_at":"2025-10-23T17:32:11.891Z","avatar_url":"https://github.com/256dpi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oauth2\n\n[![Test](https://github.com/256dpi/oauth2/actions/workflows/test.yml/badge.svg)](https://github.com/256dpi/oauth2/actions/workflows/test.yml)\n[![GoDoc](https://godoc.org/github.com/256dpi/oauth2?status.svg)](http://godoc.org/github.com/256dpi/oauth2)\n[![Release](https://img.shields.io/github/release/256dpi/oauth2.svg)](https://github.com/256dpi/oauth2/releases)\n\n**A fundamental and extendable OAuth2 library for Go.**\n\nPackage [`oauth2`](http://godoc.org/github.com/256dpi/oauth2) provides structures and functions to implement [OAuth2](https://oauth.net/2/) compatible authentication servers. The library can be used standalone or with any framework as it is built on top of the standard Go http library.\n\n## Specifications\n\nThe library considers and implements the following specifications:\n \n- [OAuth 2.0 Framework](https://tools.ietf.org/html/rfc6749) - RFC 6749\n- [Bearer Token Usage](https://tools.ietf.org/html/rfc6750) - RFC 6750\n- [Threat Model and Security Considerations](https://tools.ietf.org/html/rfc6819) - RFC 6819\n- [Token Revocation](https://tools.ietf.org/html/rfc7009) - RFC 7009\n- [Token Introspection](https://tools.ietf.org/html/rfc7662) - RFC 7662\n\n## Example\n\nThe test [server](https://github.com/256dpi/oauth2/blob/master/server.go) implements a basic but feature-complete in-memory OAuth2 authentication server. The code can be used as a template to build a custom implementation of an OAuth2 compatible authentication server.\n\n## Installation\n\nGet the package using the go tool:\n\n```bash\n$ go get -u github.com/256dpi/oauth2/v2\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 Joël Gähwiler\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F256dpi%2Foauth2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F256dpi%2Foauth2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F256dpi%2Foauth2/lists"}