[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[reclaim-ui] 157/459: followup fix
From: |
gnunet |
Subject: |
[reclaim-ui] 157/459: followup fix |
Date: |
Fri, 11 Jun 2021 23:24:09 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository reclaim-ui.
commit d85d797d161bfc92f1c43ac4aeee40f71001847b
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Tue Dec 10 17:57:01 2019 +0100
followup fix
---
src/app/identity-list/identity-list.component.ts | 4 +++-
src/app/open-id.service.ts | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/app/identity-list/identity-list.component.ts
b/src/app/identity-list/identity-list.component.ts
index dc6f98b..17f1da4 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -53,7 +53,9 @@ export class IdentityListComponent implements OnInit {
this.clientName = '-';
this.connected = false;
this.modalOpened = false;
- this.oidcService.parseRouteParams(this.route.snapshot.queryParams);
+ if (!this.oidcService.inOpenIdFlow()) {
+ this.oidcService.parseRouteParams(this.route.snapshot.queryParams);
+ }
this.getClientName();
this.identityNameMapper = {};
this.updateIdentities();
diff --git a/src/app/open-id.service.ts b/src/app/open-id.service.ts
index 8be2879..0db9ee1 100644
--- a/src/app/open-id.service.ts
+++ b/src/app/open-id.service.ts
@@ -32,6 +32,7 @@ export class OpenIdService {
}
authorize(): any {
+ this.inOidcFlow = false;
window.location.href = this.config.get().apiUrl +
'/openid/authorize?client_id=' + this.params['client_id'] +
'&redirect_uri=' + this.params['redirect_uri'] +
'&response_type=' + this.params['response_type'] +
@@ -51,7 +52,7 @@ export class OpenIdService {
}
inOpenIdFlow(): any {
- return this.params['redirect_uri'] !== undefined;
+ return this.inOidcFlow;
}
getClientId(): any {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [reclaim-ui] 120/459: Updated to Angular 8 * Used new RxJS 6-style operators * Fixed linting errors, (continued)
- [reclaim-ui] 120/459: Updated to Angular 8 * Used new RxJS 6-style operators * Fixed linting errors, gnunet, 2021/06/11
- [reclaim-ui] 146/459: minor style, gnunet, 2021/06/11
- [reclaim-ui] 148/459: fix style, gnunet, 2021/06/11
- [reclaim-ui] 155/459: fixes, gnunet, 2021/06/11
- [reclaim-ui] 152/459: dependency updates; minor bugfix, gnunet, 2021/06/11
- [reclaim-ui] 147/459: Merge branch 'master' of gitlab.com:reclaimid/ui, gnunet, 2021/06/11
- [reclaim-ui] 153/459: update logo, gnunet, 2021/06/11
- [reclaim-ui] 171/459: fix, gnunet, 2021/06/11
- [reclaim-ui] 151/459: modal positioning, gnunet, 2021/06/11
- [reclaim-ui] 149/459: change wording, gnunet, 2021/06/11
- [reclaim-ui] 157/459: followup fix,
gnunet <=
- [reclaim-ui] 150/459: more working, gnunet, 2021/06/11
- [reclaim-ui] 180/459: clarify optional attributes, gnunet, 2021/06/11
- [reclaim-ui] 166/459: return if redirect, gnunet, 2021/06/11
- [reclaim-ui] 156/459: better track oidc flow, gnunet, 2021/06/11
- [reclaim-ui] 160/459: hash does not work with webext, gnunet, 2021/06/11
- [reclaim-ui] 179/459: fix, gnunet, 2021/06/11
- [reclaim-ui] 161/459: no slash, gnunet, 2021/06/11
- [reclaim-ui] 159/459: more refactoring, gnunet, 2021/06/11
- [reclaim-ui] 162/459: fix modal bug, gnunet, 2021/06/11
- [reclaim-ui] 163/459: style, gnunet, 2021/06/11