@c8y/login 1023.17.20 → 1023.22.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/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/login",
|
|
3
|
-
"version": "1023.
|
|
3
|
+
"version": "1023.22.5",
|
|
4
4
|
"description": "This package is used to scaffold a login application for Cumulocity IoT.",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@c8y/style": "1023.
|
|
7
|
-
"@c8y/ngx-components": "1023.
|
|
8
|
-
"@c8y/client": "1023.
|
|
9
|
-
"@c8y/bootstrap": "1023.
|
|
6
|
+
"@c8y/style": "1023.22.5",
|
|
7
|
+
"@c8y/ngx-components": "1023.22.5",
|
|
8
|
+
"@c8y/client": "1023.22.5",
|
|
9
|
+
"@c8y/bootstrap": "1023.22.5",
|
|
10
10
|
"@angular/cdk": "^20.2.14",
|
|
11
11
|
"monaco-editor": "~0.53.0",
|
|
12
12
|
"ngx-bootstrap": "20.0.2",
|
|
13
13
|
"rxjs": "7.8.2"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@c8y/options": "1023.
|
|
17
|
-
"@c8y/devkit": "1023.
|
|
16
|
+
"@c8y/options": "1023.22.5",
|
|
17
|
+
"@c8y/devkit": "1023.22.5"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@angular/common": ">=20 <21"
|
|
@@ -165,12 +165,7 @@ export class LoginComponent implements OnInit, OnDestroy {
|
|
|
165
165
|
} catch (e) {
|
|
166
166
|
await this.loginService.clearCookies();
|
|
167
167
|
const preferredLoginOptionType = this.loginService.loginMode.type;
|
|
168
|
-
|
|
169
|
-
if (
|
|
170
|
-
preferredLoginOptionType === TenantLoginOptionType.OAUTH2 &&
|
|
171
|
-
e.res?.status !== 403 &&
|
|
172
|
-
!skipSSORedirect
|
|
173
|
-
) {
|
|
168
|
+
if (preferredLoginOptionType === TenantLoginOptionType.OAUTH2 && e.res?.status !== 403) {
|
|
174
169
|
this.loginService.redirectToOauth();
|
|
175
170
|
} else {
|
|
176
171
|
await this.reset(false);
|