2825619243
This adds support for the "S256" code_challenge_method to the JS Adapter. Note that the method "plain" was deliberately left out as is not recommended to be used in new applications. Note that this PR includes two libraries: - [base64-js]{@link https://github.com/beatgammit/base64-js} - [js-sha256]{@link https://github.com/emn178/js-sha256} `base64-js` is needed for cross-browser support for decoding the Uint8ArrayBuffer returned by `crypto.getRandomValues` to a PKCE compatible base64 string. `js-sha256` library is required because the `crypto.subtle.digest` support is not available for all browsers. The PKCE codeVerifier is stored in the callbackStore of the JS Adapter. Note: This PR is based on #5255 which got messed up during a rebase. |
||
---|---|---|
.. | ||
java/org/keycloak | ||
resources/META-INF/services |