@ollaid/native-sso 2.8.3 → 2.8.4
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.
- package/dist/index.cjs +15 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +15 -12
- package/dist/index.js.map +1 -1
- package/dist/services/api.d.ts +2 -0
- package/dist/types/native.d.ts +1 -0
- package/docs/10_login-redirect.md +1 -1
- package/docs/11_session-refresh-resilience.md +1 -1
- package/docs/12_login_mode.md +1 -1
- package/docs/13_must_have_working.md +1 -1
- package/docs/14_backend_env_key.md +2 -1
- package/docs/1_quick-start.md +1 -1
- package/docs/2_backend-contract.md +3 -2
- package/docs/3_storage-security.md +1 -1
- package/docs/4_webhooks.md +1 -1
- package/docs/5_iam-account.md +1 -1
- package/docs/6_advanced-services.md +1 -1
- package/docs/7_migration-notes.md +1 -1
- package/docs/8_update_infos.md +1 -1
- package/docs/9_password_magic_link.md +1 -1
- package/docs/README.md +1 -1
- package/package.json +1 -1
package/dist/services/api.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ export interface NativeAuthConfig {
|
|
|
21
21
|
timeout?: number;
|
|
22
22
|
/** Mode debug (logs console) */
|
|
23
23
|
debug?: boolean;
|
|
24
|
+
/** Bypass du flux needs_access, déterminé par le backend */
|
|
25
|
+
bypass?: boolean;
|
|
24
26
|
/**
|
|
25
27
|
* Préfixe de configuration IAM côté backend (défaut: 'iam').
|
|
26
28
|
* Permet le multi-tenant : chaque frontend envoie son préfixe
|
package/dist/types/native.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Session Refresh & Resilience
|
|
2
2
|
|
|
3
|
-
Version: `2.8.
|
|
3
|
+
Version: `2.8.4`
|
|
4
4
|
|
|
5
5
|
Ce document décrit le contrat de refresh token, la persistance des sessions et la stratégie de résilience attendue pour éviter toute déconnexion inutile en cas de réseau instable ou d'erreur transitoire.
|
|
6
6
|
|
package/docs/12_login_mode.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Backend Env Key
|
|
2
2
|
|
|
3
|
-
Version: `2.8.
|
|
3
|
+
Version: `2.8.4`
|
|
4
4
|
|
|
5
5
|
Ce document liste les variables d'environnement backend nécessaires pour faire fonctionner le flux Native SSO.
|
|
6
6
|
|
|
@@ -35,6 +35,7 @@ BYPASS=false
|
|
|
35
35
|
- `IAM_WEBHOOK_SECRET`: secret utilisé pour signer les webhooks
|
|
36
36
|
- `IAM_DEBUG`: active ou désactive les logs de debug IAM
|
|
37
37
|
- `BYPASS`: active l'auto-acceptation du flux `needs_access` quand il vaut `true`
|
|
38
|
+
- le backend peut aussi renvoyer `bypass` dans sa réponse de configuration pour indiquer le mode actif côté SaaS
|
|
38
39
|
|
|
39
40
|
## Règles
|
|
40
41
|
|
package/docs/1_quick-start.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Backend Contract
|
|
2
2
|
|
|
3
|
-
Version: `2.8.
|
|
3
|
+
Version: `2.8.4`
|
|
4
4
|
|
|
5
5
|
## Endpoints SaaS requis
|
|
6
6
|
|
|
@@ -24,7 +24,8 @@ Réponse:
|
|
|
24
24
|
"encrypted_credentials": "base64(IV::ciphertext_base64)...",
|
|
25
25
|
"iam_api_url": "https://identityam.ollaid.com/api",
|
|
26
26
|
"credentials_ttl": 300,
|
|
27
|
-
"debug": false
|
|
27
|
+
"debug": false,
|
|
28
|
+
"bypass": false
|
|
28
29
|
}
|
|
29
30
|
```
|
|
30
31
|
|
package/docs/4_webhooks.md
CHANGED
package/docs/5_iam-account.md
CHANGED
package/docs/8_update_infos.md
CHANGED
package/docs/README.md
CHANGED
package/package.json
CHANGED