Commit graph

30 commits

Author SHA1 Message Date
Jon Koops
d60dee7622
Remove the UMD distribution of Keycloak JS (#33080)
Closes #32826

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-09-30 14:05:18 +02:00
Jon Koops
cdfd46f191
Strip remaining dependencies from Keycloak JS (#33295)
Closes #33277

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-09-26 15:06:32 +02:00
Jon Koops
021a2af2fd
Compute SHA-256 digest for PKCE using the Web Crypto API (#33251)
Closes #33250

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-09-25 16:19:16 +02:00
Jon Koops
aa9e6c730e
Remove iframe version detection from Keycloak JS (#33101)
Closes #33100

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-09-20 13:58:37 +00:00
karanshukla-sarvaha
905584c742
Allow a maxAge of 0 when building a login URL (#32855)
Closes #32764

Signed-off-by: Karan Shukla <karan.shukla@sarvaha.com>
2024-09-17 10:36:51 +00:00
Thomas Darimont
88a5c96fff
Add kc_action to redirect URI after a required action is cancelled (#31925)
Closes #31894

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2024-09-03 14:26:23 +00:00
Mаартен - Maarten
f5ce5e0480
Add didInitialize to Keycloak typings (#32331)
Closes #27040

Signed-off-by: Mаартен - Maarten <maarten@oudenniel.nl>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-09-03 14:52:23 +02:00
Stephan Schreiber
dada291b46
Replace js-sha256 dependency with @noble/hashes in Keycloak JS (#30667)
Closes #15769

Signed-off-by: Stephan Schreiber <schreibse@gmail.com>
2024-06-25 13:44:17 +02:00
Jon Koops
9651af4a1c
Allow false to be set for pkceMethod option (#28347)
Closes #28335

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-09 07:33:12 +00:00
Giuseppe Graziano
b4f791b632 Remove session_state from tokens
Closes #27624

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
2024-04-08 08:12:51 +02:00
Marek Posolda
335a10fead
Handle 'You are already logged in' for expired authentication sessions (#27793)
closes #24112

Signed-off-by: mposolda <mposolda@gmail.com>
2024-04-04 10:41:03 +02:00
Grzegorz Grzybek
a95894dbad
Do not verify nonce in access and refresh tokens (only id tokens) (#26891)
Closes #26651

Signed-off-by: Grzegorz Grzybek <gr.grzybek@gmail.com>
2024-02-08 13:19:32 +01:00
Jon Koops
5bf2d4b6ec
Enable PKCE by default for Keycloak JS (#26412)
Closes #26411

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-01-23 14:04:13 +01:00
Jon Koops
b597c022e4
Drop base64-js dependency from Keycloak JS (#26265)
Closes #26264

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-01-17 13:23:40 +01:00
Thomas Darimont
0f5bbae75c
Add support for POST logout in Keycloak JS (#25348)
Closes #25167

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-12-11 14:55:48 +01:00
Jon Koops
0b9dd21b0a
Attempt to request storage access for cookies (#25055)
Closes #23872

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2023-11-27 18:23:40 +00:00
Bogdan-Cosmin Chifor
11bcec4906
Fix redirect uri for Cordova adapter (#24708)
Closes #24732

Signed-off-by: Bogdan-Cosmin Chifor <bogdan.chifor@tii.ae>
2023-11-14 12:11:49 +00:00
dependabot[bot]
80c71b1951
Bump jwt-decode from 3.1.2 to 4.0.0 in /js (#24349)
* Bump jwt-decode from 3.1.2 to 4.0.0 in /js

Bumps [jwt-decode](https://github.com/auth0/jwt-decode) from 3.1.2 to 4.0.0.
- [Release notes](https://github.com/auth0/jwt-decode/releases)
- [Changelog](https://github.com/auth0/jwt-decode/blob/main/CHANGELOG.md)
- [Commits](https://github.com/auth0/jwt-decode/compare/v3.1.2...v4.0.0)

---
updated-dependencies:
- dependency-name: jwt-decode
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-10-27 14:20:43 +02:00
Thomas Darimont
d56baa80b3
Add support for passing acr_values in auth requests in keycloak.js (#9383) (#24259)
Fixes #9383
2023-10-25 15:33:39 +02:00
Jon Koops
1b6cb7b2a9
Always check storage access before placing test cookie (#23393) 2023-09-27 13:38:53 +02:00
Abhishek Govula
0536078282
Replace deprated escape() function with jwt-decode (#21990)
Closes #22034
2023-07-27 17:07:01 +02:00
Takashi Norimatsu
2efd79f982 FAPI 2.0 security profile - supporting RFC 9207 OAuth 2.0 Authorization Server Issuer Identification
Closes #20584
2023-07-24 09:11:30 +02:00
Alexander Makarenko
22fe316b3f
Throw an exception if init() is called more than once (#20722)
Closes #12745
2023-07-03 12:38:49 +00:00
zyairzy
bdb4dd8070
Support passing in locale option to init() (#11760)
Closes #11759
2023-06-27 07:19:13 +00:00
Jon Koops
df9cf53d2b
Use sandbox attibute for iframes created by Keycloak JS (#20544) 2023-05-25 11:47:23 +02:00
Jon Koops
5cfa4bedfd
Remove function-style constructor from Keycloak JS (#19912) 2023-04-24 12:24:33 +00:00
Bunyamin Shabanov
e217644ff4
Stop re-writing browser history for login() and register() (#19525)
Closes #19543
2023-04-06 12:08:39 +00:00
Jon Koops
bdc019b02c
Fully deprecate function-style constructor for Keycloak JS (#19438) 2023-04-03 14:45:55 +02:00
Jon Koops
8f627517cb
Remove legacy Promise APIs from Keycloak JS (#19389) 2023-03-29 16:29:27 +00:00
Jon Koops
6d2e57f93a
Move Keycloak JS into the NPM workspace (#17401) 2023-03-03 13:56:53 +01:00
Renamed from adapters/oidc/js/src/keycloak.js (Browse further)