rp: add VerifyTokens example

This commit is contained in:
Tim Möhlmann 2023-03-06 12:31:11 +02:00
parent 6e9d8739e8
commit 54eae928c9
4 changed files with 168 additions and 12 deletions

View file

@ -62,7 +62,7 @@ func TestVerifyTokens(t *testing.T) {
wantErr: true,
},
{
name: "wronf access token",
name: "wrong access token",
accessToken: accessToken,
idTokenClaims: func() (string, *oidc.IDTokenClaims) {
return tu.NewIDToken(