@shane_donnelly/dsi-internal-react-utils 0.1.2 → 0.1.3

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.
@@ -7,8 +7,9 @@ import { KeycloakConfig, AuthUser } from './types';
7
7
  */
8
8
  export declare function createKeycloakInstance(config: KeycloakConfig): Keycloak;
9
9
  /**
10
- * Initialise une instance Keycloak avec `check-sso` et PKCE S256.
11
- * Détecte automatiquement une session SSO existante sans forcer le login.
10
+ * Initialise une instance Keycloak avec PKCE S256.
11
+ * Traite un éventuel callback d'authentification dans l'URL,
12
+ * mais ne déclenche aucune redirection automatique.
12
13
  *
13
14
  * @param keycloak - Instance Keycloak à initialiser
14
15
  * @returns `true` si l'utilisateur est déjà authentifié
@@ -10,7 +10,6 @@ function t(t) {
10
10
  async function n(e) {
11
11
  try {
12
12
  return await e.init({
13
- onLoad: "check-sso",
14
13
  pkceMethod: "S256",
15
14
  checkLoginIframe: !1
16
15
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shane_donnelly/dsi-internal-react-utils",
3
3
  "private": false,
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",