@axa-fr/react-oidc 7.26.7 → 7.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -210,6 +210,7 @@ const configuration = {
210
210
  scope: String.isRequired, // oidc scope (you need to set "offline_access")
211
211
  authority: String.isRequired,
212
212
  storage: Storage, // Default sessionStorage, you can set localStorage, but it is not secure
213
+ login_state_storage: Storage, // Optional. Storage used only for authorization flow state (state, code_verifier, nonce, login params). Defaults to the value of `storage`. Set to sessionStorage when using storage: localStorage to prevent race conditions when multiple tabs start the login flow simultaneously.
213
214
  authority_configuration: {
214
215
  // Optional for providers that do not implement OIDC server auto-discovery via a .wellknown URL
215
216
  authorization_endpoint: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axa-fr/react-oidc",
3
- "version": "7.26.7",
3
+ "version": "7.27.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.cjs",
@@ -40,8 +40,8 @@
40
40
  "lint": "eslint src"
41
41
  },
42
42
  "dependencies": {
43
- "@axa-fr/oidc-client-service-worker": "7.26.7",
44
- "@axa-fr/oidc-client": "7.26.7"
43
+ "@axa-fr/oidc-client-service-worker": "7.27.0",
44
+ "@axa-fr/oidc-client": "7.27.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0"