@descope/angular-sdk 0.0.0-next-ec7a252c-20250916 → 0.0.0-next-3a4c0242-20250918
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/README.md +4 -1
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -505,7 +505,10 @@ Notes:
|
|
|
505
505
|
- You must configure the refresh token to be stored in an `httpOnly` cookie in the Descope console. Otherwise, the refresh token will not be stored, and when the page is refreshed, the user will be logged out.
|
|
506
506
|
- You can still retrieve the session token using the `session` observable of `DescopeAuthService`.
|
|
507
507
|
- The session token cookie is set to [`SameSite=Strict; Secure;`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) by default.
|
|
508
|
-
If you need to customize this, you can set `sessionTokenViaCookie={sameSite: 'Lax', secure: false
|
|
508
|
+
If you need to customize this, you can set `sessionTokenViaCookie={sameSite: 'Lax', secure: false, cookieName: 'MY_COOKIE'}`.
|
|
509
|
+
- `sameSite` (default: `Strict`) – Controls the SameSite attribute of the session cookie.
|
|
510
|
+
- `secure` (default: `true`) – If true, sets the cookie as Secure (sent only over HTTPS).
|
|
511
|
+
- `cookieName` (default: `DS`) – The name of the session token cookie. Useful for avoiding conflicts when running multiple Descope projects on the same domain.
|
|
509
512
|
|
|
510
513
|
### Last User Persistence
|
|
511
514
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/angular-sdk",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-3a4c0242-20250918",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=16.0.0",
|
|
6
6
|
"@angular/core": ">=16.0.0"
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"tslib": "^2.3.0",
|
|
28
|
-
"@descope/access-key-management-widget": "0.0.0-next-
|
|
29
|
-
"@descope/audit-management-widget": "0.0.0-next-
|
|
30
|
-
"@descope/role-management-widget": "0.0.0-next-
|
|
31
|
-
"@descope/user-management-widget": "0.0.0-next-
|
|
32
|
-
"@descope/user-profile-widget": "0.0.0-next-
|
|
33
|
-
"@descope/tenant-profile-widget": "0.0.0-next-
|
|
34
|
-
"@descope/
|
|
35
|
-
"@descope/
|
|
36
|
-
"@descope/core-js-sdk": "0.0.0-next-
|
|
37
|
-
"@descope/web-js-sdk": "0.0.0-next-
|
|
28
|
+
"@descope/access-key-management-widget": "0.0.0-next-3a4c0242-20250918",
|
|
29
|
+
"@descope/audit-management-widget": "0.0.0-next-3a4c0242-20250918",
|
|
30
|
+
"@descope/role-management-widget": "0.0.0-next-3a4c0242-20250918",
|
|
31
|
+
"@descope/user-management-widget": "0.0.0-next-3a4c0242-20250918",
|
|
32
|
+
"@descope/user-profile-widget": "0.0.0-next-3a4c0242-20250918",
|
|
33
|
+
"@descope/tenant-profile-widget": "0.0.0-next-3a4c0242-20250918",
|
|
34
|
+
"@descope/applications-portal-widget": "0.0.0-next-3a4c0242-20250918",
|
|
35
|
+
"@descope/web-component": "0.0.0-next-3a4c0242-20250918",
|
|
36
|
+
"@descope/core-js-sdk": "0.0.0-next-3a4c0242-20250918",
|
|
37
|
+
"@descope/web-js-sdk": "0.0.0-next-3a4c0242-20250918"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@angular-devkit/build-angular": "^19.0.0",
|