Browse Source
Merge pull request #16662 from abpframework/auto-merge/rel-7-0/1960
Merge branch rel-7.1 with rel-7.0
pull/16663/head
Barış Can Yılmaz
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
2 deletions
-
npm/ng-packs/packages/oauth/src/lib/strategies/auth-code-flow-strategy.ts
|
|
|
@ -14,9 +14,12 @@ export class AuthCodeFlowStrategy extends AuthFlowStrategy { |
|
|
|
} |
|
|
|
|
|
|
|
navigateToLogin(queryParams?: Params) { |
|
|
|
const additionalState = queryParams.returnUrl; |
|
|
|
const cultureParams = this.getCultureParams(queryParams); |
|
|
|
let additionalState = ''; |
|
|
|
if (!!queryParams?.returnUrl) { |
|
|
|
additionalState = queryParams.returnUrl; |
|
|
|
} |
|
|
|
|
|
|
|
const cultureParams = this.getCultureParams(queryParams); |
|
|
|
this.oAuthService.initCodeFlow(additionalState, cultureParams); |
|
|
|
} |
|
|
|
|
|
|
|
|