git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #1936 from braunsonm/pkce-code-verifier-correction
ddcc433Joel Speed
pkg/encryption/utils.go+1−1
@@ -17,7 +17,7 @@ import (
17const (
17const (
18 CodeChallengeMethodPlain = "plain"
18 CodeChallengeMethodPlain = "plain"
19 CodeChallengeMethodS256 = "S256"
19 CodeChallengeMethodS256 = "S256"
20− asciiCharset = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
20+ asciiCharset = "-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~"
21)
21)
22
22
23// SecretBytes attempts to base64 decode the secret, if that fails it treats the secret as binary
23// SecretBytes attempts to base64 decode the secret, if that fails it treats the secret as binary