1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-12-01 22:51:45 +02:00

Move OIDC IDToken verifier behind interface

This commit is contained in:
Joel Speed
2022-02-16 14:06:25 +00:00
committed by Joel Speed
parent 979c3e8cbc
commit ed3892296e
9 changed files with 51 additions and 42 deletions

View File

@@ -43,7 +43,7 @@ func newSignedTestADFSToken(tokenClaims adfsClaims) (string, error) {
}
func testADFSProvider(hostname string) *ADFSProvider {
verificationOptions := &internaloidc.IDTokenVerificationOptions{
verificationOptions := internaloidc.IDTokenVerificationOptions{
AudienceClaims: []string{"aud"},
ClientID: "https://test.myapp.com",
}