@c8y/login 1023.22.2 → 1023.22.6

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.22.2",
3
+ "version": "1023.22.6",
4
4
  "description": "This package is used to scaffold a login application for Cumulocity IoT.",
5
5
  "dependencies": {
6
- "@c8y/style": "1023.22.2",
7
- "@c8y/ngx-components": "1023.22.2",
8
- "@c8y/client": "1023.22.2",
9
- "@c8y/bootstrap": "1023.22.2",
6
+ "@c8y/style": "1023.22.6",
7
+ "@c8y/ngx-components": "1023.22.6",
8
+ "@c8y/client": "1023.22.6",
9
+ "@c8y/bootstrap": "1023.22.6",
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.22.2",
17
- "@c8y/devkit": "1023.22.2"
16
+ "@c8y/options": "1023.22.6",
17
+ "@c8y/devkit": "1023.22.6"
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
- const skipSSORedirect = this.options.get('skipSSORedirect', false);
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);