Revoke upstream OIDC refresh tokens during GC

This commit is contained in:
Ryan Richard
2021-11-10 15:34:19 -08:00
parent d0ced1fd74
commit 2388e25235
9 changed files with 1065 additions and 68 deletions
@@ -403,7 +403,7 @@ func TestReadFromSecret(t *testing.T) {
tests := []struct {
name string
secret *corev1.Secret
wantSession *AuthorizeCodeSession
wantSession *Session
wantErr string
}{
{
@@ -422,7 +422,7 @@ func TestReadFromSecret(t *testing.T) {
},
Type: "storage.pinniped.dev/authcode",
},
wantSession: &AuthorizeCodeSession{
wantSession: &Session{
Version: "2",
Active: true,
Request: &fosite.Request{