oauth2-proxy/pkg/encryption
Vish (Ishaya) Abrams 4e2013e6ba
fix: update code_verifier to use recommended method (#2620)
The [RFC](https://datatracker.ietf.org/doc/html/rfc7636#section-4.1)
says that a code verifier just uses unreserved characters, but the
recommended method is that it is a base64-urlencoded 32-octet url. Some
implementations of PKCE (most notably the one used by salesforce)
require that this is a valid base64 encoded string[1], so this patch
switches to using the recommended approach to make it more compatible.

[1]: https://help.salesforce.com/s/articleView?id=sf.remoteaccess_pkce.htm&type=5
2024-11-06 15:16:39 +01:00
..
cipher.go Reduce SessionState size better with MessagePack + LZ4 (#632) 2020-07-13 20:56:05 +01:00
cipher_test.go Reduce SessionState size better with MessagePack + LZ4 (#632) 2020-07-13 20:56:05 +01:00
nonce.go PKCE Support (#1541) 2022-03-13 10:08:33 +00:00
utils.go fix: update code_verifier to use recommended method (#2620) 2024-11-06 15:16:39 +01:00
utils_test.go fix: update code_verifier to use recommended method (#2620) 2024-11-06 15:16:39 +01:00