Skip to content

Commit 7b7742f

Browse files
Merge pull request #742 from roblabat/patch-1
fix customHashFragment usage in tryLoginCodeFlow
2 parents 8ecd7ab + cd5b6db commit 7b7742f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/lib/src/oauth-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
14551455
options.customHashFragment.substring(1) :
14561456
window.location.search;
14571457

1458-
const parts = this.getCodePartsFromUrl(window.location.search);
1458+
const parts = this.getCodePartsFromUrl(querySource);
14591459

14601460
const code = parts['code'];
14611461
const state = parts['state'];

0 commit comments

Comments
 (0)