oidc
go-oidc
oidc | go-oidc | |
---|---|---|
16 | 9 | |
1,194 | 1,788 | |
3.2% | 1.7% | |
9.1 | 5.2 | |
1 day ago | 21 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
oidc
-
Easy to use OpenID Connect client and server library written for Go
Zitadel OIDC library code is very well-writen and informative.
Highly encourage everyone jump into source code and explore how IntrospectionResponse struct work with all related code around
https://github.com/zitadel/oidc/blob/main/pkg/oidc/introspec...
// IntrospectionResponse implements RFC 7662, section 2.2 and
// OpenID Connect Core 1.0, section 5.1 (UserInfo).
// https://www.rfc-editor.org/rfc/rfc7662.html#section-2.2.
// https://openid.net/specs/openid-connect-core-1_0.html#Standa....
type IntrospectionResponse struct {
-
Are there any OIDC Provider libraries for Golang?
I started with https://github.com/zitadel/oidc/tree/main/example/server/storage
- ZITADEL Golang OIDC Library Version 2.0 Release
- Easy to use OpenID Connect client and server for Go released v2.0.0
-
How do you implement OIDC Code flow in go?
oidc: github.com/zitadel/oidc (certified by OIDC)
-
Zitadel: The best of Auth0 and Keycloak combined
I had to set up a OIDC server so our website could act as OIDC provider, and was really surprised how hard that is to do if you simply need the most basic setup. In fact it would seem that everybody would just keep a Keycloak or whatever— in their cluster and would keep it up-to-date with whatever user schema they would have in their app. This felt like too much work for me (I didn't want to maintain a whole extra service to just be able and provide a couple Oauth scopes from our API back-end.) so instead I went on and implemented the server directly in our app using https://github.com/zitadel/oidc. In fact this was the only fully-functioning OIDC implementation in Go that I could just plug in and make it work. So big props up to the Zitadel guys, the only worry would be from my side that the server implementation could be more generic and could rely on a set of interfaces that the users would be able to implement easily, without having to import a bunch of code from 'examples/server' like we have to do at the moment?
-
We moved our Go OpenID Connect package to a new home
I just wanted to spread the word, that we moved the library to a new home in the ZITADEL GitHub organisation to ease some of the confusion around the name of the company (CAOS) and the project (ZITADEL).
-
Help us build the best open source identity platform
But to ease the pain of this we release personal access tokens in March and are currently prepping to support client credentials as well, thanks to a contribution.
go-oidc
-
GO - Docker ask certificate on K8S container
I use the following code with this lib
-
Where to validate JWT tokens
If oidc supported, check out https://github.com/coreos/go-oidc You can instantiate a oidc verifier by passing the oidc-configuration endpoint, set the remote public key set by passing the jwks endpoint. Then call Verify func. As long as the public key matches the private key used to sign the JWT (3rd part), you'll verify it and get the claim back, then unmarshall that claim to some struct and you're good to go.
-
My take on document archiving: Virtualpaper
This looks so far like some of the nicest ones. I'm sold if you add the possibility for OpenID connect authentication that can be configured via env variables to the container.
-
Echo doesn't set cookies
I did everything according to go-oidc examples: https://github.com/coreos/go-oidc/blob/v3/example/idtoken/app.go
-
How do you implement OIDC Code flow in go?
go-oidc: github.com/coreos/go-oidc
-
go-oidc VS oidc - a user suggested alternative
2 projects | 26 Apr 2022
-
Retrieving authorization JWT from Go CLI program.
If you actually have OpenID Connect then there are some good libraries to use for token management in that case. Iirc I prefer https://github.com/coreos/go-oidc, since it supports auto discovery and key rotation etc.
-
What are your favorite packages to use?
oklog/ulid to generate IDs. coreos/go-oidc for validating JWTs I get from auth. google/go-cmp for comparing structs in tests (unless the project is already using Testify). spf13/pflag because life's too short for Go's flag handling. getkin/kin-openapi for validating reqests/responses against my OpenAPI spec (in tests).
-
Looking for a reliable OAuth2 client implementation
Hmm, this might be a relevant issue: https://github.com/golang/oauth2/issues/128 . On the face of it, it looks like https://github.com/coreos/go-oidc is a more thorough implementation...(?)
What are some alternatives?
oauth2-proxy - A reverse proxy that provides authentication with Google, Azure, OpenID Connect and many more identity providers.
chi - lightweight, idiomatic and composable router for building Go HTTP services
zitadel - ZITADEL - The best of Auth0 and Keycloak combined. Built for the serverless era.
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
lldap - Light LDAP implementation
oauth2 - Go OAuth2
scim-for-keycloak - a third party module that extends keycloak by SCIM functionality
gopherjs - A compiler from Go to JavaScript for running Go code in a browser
go-ora - Pure go oracle client
pgx - PostgreSQL driver and toolkit for Go
rsync - gokrazy rsync
pflag - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.