fix: code challenge
This commit is contained in:
parent
7f486a54c4
commit
c3169868d8
3 changed files with 8 additions and 4 deletions
|
@ -19,7 +19,7 @@ type CodeChallenge struct {
|
|||
}
|
||||
|
||||
func NewSHACodeChallenge(code string) string {
|
||||
return utils.HashString(sha256.New(), code)
|
||||
return utils.HashString(sha256.New(), code.false)
|
||||
}
|
||||
|
||||
func VerifyCodeChallenge(c *CodeChallenge, codeVerifier string) bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue