linter pass; remove context param from GetIdentityProviderForRequestURL

This commit is contained in:
Joe Kralicky 2024-06-20 19:42:15 -04:00
parent a5a0cf4ba8
commit f3288974dd
No known key found for this signature in database
GPG key ID: 75C4875F34A9FB79
5 changed files with 8 additions and 10 deletions

View file

@ -82,7 +82,7 @@ func (store *SessionStore) LoadSessionState(ctx context.Context, r *http.Request
// confirm that the identity provider id matches the state
if state.IdentityProviderID != "" {
idp, err := store.policyCache.GetIdentityProviderForRequestURL(ctx, store.options, urlutil.GetAbsoluteURL(r).String())
idp, err := store.policyCache.GetIdentityProviderForRequestURL(store.options, urlutil.GetAbsoluteURL(r).String())
if err != nil {
return nil, err
}