2 Commits
Author SHA1 Message Date
janishutz 374fda716b fix: unclean crash on provider resolution failure 2026-09-28 16:41:48 +02:00
janishutz e44d4511f2 chore: make compatible with go 1.26.0 2026-09-28 16:00:52 +02:00
2 changed files with 3 additions and 3 deletions

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/janishutz/oidclogin
go 1.27.1
go 1.26.0
require (
github.com/coreos/go-oidc/v3 v3.21.0
+2 -2
View File
@@ -56,12 +56,12 @@ func Configure(r *gin.Engine, app_url string, default_redirect string, stubs_on_
}
provider, err := oidc.NewProvider(context.Background(), issuer)
verifier = *provider.Verifier(&oidc.Config{ClientID: clientID})
if err != nil {
log.Fatal("[JHID] Provider resolution failed with error", err)
}
verifier = *provider.Verifier(&oidc.Config{ClientID: clientID})
config = oauth2.Config{
ClientID: clientID,
ClientSecret: clientSecret,