Skip to content

Commit

Permalink
fix: fix log message params (#61)
Browse files Browse the repository at this point in the history
## Description

Small fix in the oidc cookie refresh log message (the params were
inverted).
  • Loading branch information
jdelucaa authored Dec 30, 2024
2 parents 48f13a7 + 2f4b00f commit 673256f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauthproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ func buildSessionChain(opts *options.Options, provider providers.Provider, sessi
oidcProviderSettings.CookieRefreshURL = fmt.Sprintf("%s/session/refresh", oidcProviderSettings.IssuerURL)
}
chain = chain.Append(middleware.PicsNewCookieRefresh(&middleware.CookieRefreshOptions{CookieRefreshURL: oidcProviderSettings.CookieRefreshURL, CookieRefreshName: oidcProviderSettings.CookieRefreshName}))
logger.Printf("Enabling OIDC cookie refresh functionality for the cookie '%s' using the url '%s' because OIDCEnableCookieRefresh is enabled", oidcProviderSettings.CookieRefreshURL, oidcProviderSettings.CookieRefreshName)
logger.Printf("Enabling OIDC cookie refresh functionality for the cookie '%s' using the url '%s' because OIDCEnableCookieRefresh is enabled", oidcProviderSettings.CookieRefreshName, oidcProviderSettings.CookieRefreshURL)
}

return chain
Expand Down

0 comments on commit 673256f

Please sign in to comment.