Top 0.9% dependent packages on proxy.golang.org
Top 0.7% dependent repos on proxy.golang.org
Top 2.2% docker downloads on proxy.golang.org
proxy.golang.org : github.com/ericchiang/oidc
Package oidc implements OpenID Connect client logic for the golang.org/x/oauth2 package. OAuth2 redirects are unchanged. For callbacks the provider can be used to query for user information such as email. The provider also has the ability to verify ID Tokens. The returned verifier can be used to perform basic validation on ID Token issued by the provider, including verifying the JWT signature. It then returns the payload. ID Token nonces are supported. First, provide a nonce source for nonce validation. This will then be used to wrap the existing provider ID Token verifier. For the redirect provide a nonce auth code option. This will be placed as a URL parameter during the client redirect. The nonce enabled verifier can then be used to verify the nonce while unpacking the ID Token. This package uses contexts to derive HTTP clients in the same way as the oauth2 package. To configure a custom client, use the oauth2 packages HTTPClient context key when constructing the context.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/ericchiang/oidc
License: Apache-2.0
Latest release: over 8 years ago
First release: over 8 years ago
Namespace: github.com/ericchiang
Dependent packages: 38
Dependent repositories: 80
Stars: 13 on GitHub
Forks: 2 on GitHub
Docker dependents: 3
Docker downloads: 66
See more repository details: repos.ecosyste.ms
Last synced: 18 days ago