Adjust tests and comments for upgrade to latest version of fosite

This commit is contained in:
Ryan Richard
2024-02-13 10:16:41 -08:00
parent 5c702738cf
commit cf82cf996e
8 changed files with 49 additions and 101 deletions
@@ -1,4 +1,4 @@
// Copyright 2020-2023 the Pinniped contributors. All Rights Reserved.
// Copyright 2020-2024 the Pinniped contributors. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package supervisorstorage
@@ -227,8 +227,7 @@ func (c *garbageCollectorController) maybeRevokeUpstreamOIDCToken(ctx context.Co
case openidconnect.TypeLabelValue:
// For OIDC storage, there is no need to do anything for reasons similar to the PKCE storage.
// These are not deleted during downstream authcode exchange, probably due to a bug in fosite, even
// though it will never be read or updated again. However, the upstream token contained inside will
// These are deleted during downstream authcode exchange. The upstream token contained inside will
// be revoked by one of the other cases above.
return nil