From 4cf6c6d5f0d94b8c6de93eb37717b1fae914aca7 Mon Sep 17 00:00:00 2001 From: Livio Amstutz Date: Fri, 28 Feb 2020 18:11:38 +0100 Subject: [PATCH] fix: another typo --- pkg/oidc/code_challenge.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/oidc/code_challenge.go b/pkg/oidc/code_challenge.go index 385a907..44a0499 100644 --- a/pkg/oidc/code_challenge.go +++ b/pkg/oidc/code_challenge.go @@ -19,7 +19,7 @@ type CodeChallenge struct { } func NewSHACodeChallenge(code string) string { - return utils.HashString(sha256.New(), code.false) + return utils.HashString(sha256.New(), code, false) } func VerifyCodeChallenge(c *CodeChallenge, codeVerifier string) bool {