mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-18541] - OAuth - redirect does not work (#9135)
This commit is contained in:
@@ -129,7 +129,7 @@ export class RedirectAuthService extends AuthService {
|
|||||||
|
|
||||||
async loginCallback(): Promise<string | undefined> {
|
async loginCallback(): Promise<string | undefined> {
|
||||||
return this.ensureDiscoveryDocument()
|
return this.ensureDiscoveryDocument()
|
||||||
.then(() => this.oauthService.tryLogin({ preventClearHashAfterLogin: false }))
|
.then(() => this.oauthService.tryLogin({ preventClearHashAfterLogin: true }))
|
||||||
.then(() => this._getRedirectUrl());
|
.then(() => this._getRedirectUrl());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user