@sesamy/sesamy-js 1.121.1 → 1.122.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.
@@ -113,6 +113,20 @@ declare interface AuthConfig {
113
113
  * cookie-auth plugin reads it automatically.
114
114
  */
115
115
  idToken?: string;
116
+ /**
117
+ * One-time migration for publishers switching from the Auth0 SPA flow to
118
+ * cookie/BFF auth. On first load, if the browser still carries a legacy
119
+ * auth0-spa-js session but has no BFF session yet, the cookie plugin makes a
120
+ * single silent (`prompt=none`) login attempt so already-authenticated users
121
+ * are migrated without an interactive prompt. When no upstream SSO session
122
+ * exists the attempt falls through silently and the user stays anonymous.
123
+ *
124
+ * Requires `useHttpCookies: true`. Safe to leave enabled during the
125
+ * transition; remove once legacy sessions have aged out.
126
+ *
127
+ * @default false
128
+ */
129
+ migrateLegacySession?: boolean;
116
130
  }
117
131
 
118
132
  export declare interface AuthPlugin {