Skip to content

Commit

Permalink
Print oidc details after getting from db
Browse files Browse the repository at this point in the history
  • Loading branch information
NHAS committed May 7, 2024
1 parent 8ca6fa8 commit fcb6ed4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/webserver/authenticators/oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ func (o *Oidc) Init() error {
u.Path = path.Join(u.Path, "/authorise/oidc/")
log.Println("OIDC callback: ", u.String())

log.Println("Connecting to OIDC provider: ", o.details.IssuerURL)

o.details, err = data.GetOidc()
if err != nil {
return err
}

log.Println("Connecting to OIDC provider: ", o.details.IssuerURL)

o.provider, err = rp.NewRelyingPartyOIDC(o.details.IssuerURL, o.details.ClientID, o.details.ClientSecret, u.String(), []string{"openid"}, options...)
if err != nil {
return err
Expand Down

0 comments on commit fcb6ed4

Please sign in to comment.