Commit graph

23 commits

Author SHA1 Message Date
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