https://github.com/n0stack/openid
https://github.com/n0stack/openid
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/n0stack/openid
- Owner: n0stack
- License: bsd-3-clause
- Created: 2021-09-11T05:27:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-20T16:11:29.000Z (over 4 years ago)
- Last Synced: 2025-12-18T02:27:46.973Z (3 months ago)
- Language: Go
- Size: 58.6 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openid
[](https://pkg.go.dev/go.n0stack.dev/lib/openid)
This openid repository is a OpenID Connect client library for Golang.
## Usage
```
go get -u go.n0stack.dev/lib/openid
```
**[View the examples here](./examples)**
## Supporting features
- [RFC 6749: The OAuth 2.0 Authorization Framework](https://datatracker.ietf.org/doc/html/rfc6749)
- [x] 4.1. Authorization Code Grant
- [ ] 4.2. Implicit Grant [DEPRECATED]
- [ ] 4.3. Resource Owner Password Credentials Grant [DEPRECATED]
- [x] 4.4. Client Credentials Grant
- [x] 6. Refreshing an Access Token
- [RFC 7009: OAuth 2.0 Token Revocation](https://datatracker.ietf.org/doc/html/rfc7009)
- [ ] 2. Token Revocation
- [RFC 7523: JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants](https://datatracker.ietf.org/doc/html/rfc7523)
- [ ] 2.1. Using JWTs as Authorization Grants
- [x] 2.2. Using JWTs for Client Authentication
- [RFC 7636: Proof Key for Code Exchange by OAuth Public Clients](https://datatracker.ietf.org/doc/html/rfc7636)
- [ ] plain
- [x] S256
- [RFC 7662: OAuth 2.0 Token Introspection](https://datatracker.ietf.org/doc/html/rfc7662)
- [ ] 2. Introspection Endpoint
- [OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html)
- [x] 2. ID Token / 3.1.3.7. ID Token Validation / 5.1. Standard Claims
- [x] 3.1. Authentication using the Authorization Code Flow
- [ ] 3.2. Authentication using the Implicit Flow [DEPRECATED]
- [ ] 3.3. Authentication using the Hybrid Flow
- [ ] 5.3. UserInfo Endpoint
- [x] 10.1.1. Rotation of Asymmetric Signing Keys
- [OpenID Connect Discovery 1.0](https://openid.net/specs/openid-connect-discovery-1_0.html)
- [ ] `/.well-known/webfinger`
- [x] `/.well-known/openid-configuration`
- [OpenID Connect Client-Initiated Backchannel Authentication Flow - Core 1.0](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html)
- [ ] Poll Mode
- [ ] Ping Mode
- [ ] Push Mode
- OAuth 2.1
- Others
- [x] `urn:ietf:wg:oauth:2.0:oob` [DEPRECATED]
- https://mailarchive.ietf.org/arch/msg/oauth/OCeJLZCEtNb170Xy-C3uTVDIYjM/