diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-12-10 17:57:01 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-12-10 17:57:01 +0100 |
commit | d85d797d161bfc92f1c43ac4aeee40f71001847b (patch) | |
tree | 649f06f15b350a96259f4dd4be67a78dd1c45f94 /src/app/open-id.service.ts | |
parent | 1bc23a6f0ffd06539f4ebbe4b98b07ad2a186861 (diff) | |
download | reclaim-ui-d85d797d161bfc92f1c43ac4aeee40f71001847b.tar.gz reclaim-ui-d85d797d161bfc92f1c43ac4aeee40f71001847b.zip |
followup fix
Diffstat (limited to 'src/app/open-id.service.ts')
-rw-r--r-- | src/app/open-id.service.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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 { | |||
32 | } | 32 | } |
33 | 33 | ||
34 | authorize(): any { | 34 | authorize(): any { |
35 | this.inOidcFlow = false; | ||
35 | window.location.href = this.config.get().apiUrl + '/openid/authorize?client_id=' + this.params['client_id'] + | 36 | window.location.href = this.config.get().apiUrl + '/openid/authorize?client_id=' + this.params['client_id'] + |
36 | '&redirect_uri=' + this.params['redirect_uri'] + | 37 | '&redirect_uri=' + this.params['redirect_uri'] + |
37 | '&response_type=' + this.params['response_type'] + | 38 | '&response_type=' + this.params['response_type'] + |
@@ -51,7 +52,7 @@ export class OpenIdService { | |||
51 | } | 52 | } |
52 | 53 | ||
53 | inOpenIdFlow(): any { | 54 | inOpenIdFlow(): any { |
54 | return this.params['redirect_uri'] !== undefined; | 55 | return this.inOidcFlow; |
55 | } | 56 | } |
56 | 57 | ||
57 | getClientId(): any { | 58 | getClientId(): any { |