You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-06-15 00:15:00 +02:00
Remove unsupported special characters from the code verifier runes
- Not all special ASCII characters are strictly supported by the spec
This commit is contained in:
@ -17,7 +17,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
CodeChallengeMethodPlain = "plain"
|
CodeChallengeMethodPlain = "plain"
|
||||||
CodeChallengeMethodS256 = "S256"
|
CodeChallengeMethodS256 = "S256"
|
||||||
asciiCharset = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
|
asciiCharset = "-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SecretBytes attempts to base64 decode the secret, if that fails it treats the secret as binary
|
// SecretBytes attempts to base64 decode the secret, if that fails it treats the secret as binary
|
||||||
|
Reference in New Issue
Block a user