@makefully/adaptfully 5.0.4 → 5.0.5
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/CHANGELOG.md +6 -0
- package/lib/runtime/auth/social-auth.js +11 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## 5.0.5 — 2026-10-06
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- **`social-auth`** Google login on Capacitor now passes `filterByAuthorizedAccounts: false` (Capgo/Family Link guidance) so Credential Manager does not stick to a stale authorized-account filter that surfaces `[16] Account reauth failed`.
|
|
10
|
+
|
|
5
11
|
## 5.0.4 — 2026-10-06
|
|
6
12
|
|
|
7
13
|
### Changed
|
|
@@ -303,15 +303,21 @@
|
|
|
303
303
|
return;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
306
|
+
// Android Capgo defaults / Family Link: never filter to "authorized"
|
|
307
|
+
// accounts only — that path commonly surfaces [16] Account reauth failed.
|
|
308
|
+
const options = provider === 'google'
|
|
309
|
+
? {
|
|
310
|
+
scopes: ['email', 'profile'],
|
|
311
|
+
filterByAuthorizedAccounts: false,
|
|
312
|
+
}
|
|
313
|
+
: {
|
|
314
|
+
scopes: ['email', 'name'],
|
|
315
|
+
};
|
|
311
316
|
|
|
312
317
|
console.info('[adaptfully social-auth] login starting', authContext({
|
|
313
318
|
provider,
|
|
314
319
|
scopes: options.scopes,
|
|
320
|
+
filterByAuthorizedAccounts: options.filterByAuthorizedAccounts ?? null,
|
|
315
321
|
alreadyAuthenticated: this.authenticated,
|
|
316
322
|
}));
|
|
317
323
|
|