keycloak-scim/testsuite/integration-arquillian/tests/base/src/main
Thomas Darimont 2825619243 KEYCLOAK-1033 Add PKCE support for JS Adapter
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.
2019-05-29 15:40:16 +02:00
..
java/org/keycloak KEYCLOAK-1033 Add PKCE support for JS Adapter 2019-05-29 15:40:16 +02:00
resources/META-INF/services KEYCLOAK-4407 Ability to restart arquillian containers from test 2018-07-27 20:53:58 +02:00