Skip to content

Commit f8e6489

Browse files
authored
Fix Issue 277
Fix for #277
1 parent a1652dc commit f8e6489

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
@@ -1651,7 +1651,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
16511651
.then(result => {
16521652
this.storeIdToken(result);
16531653
this.storeSessionState(sessionState);
1654-
if (this.clearHashAfterLogin) {
1654+
if (this.clearHashAfterLogin && !options.preventClearHashAfterLogin) {
16551655
location.hash = '';
16561656
}
16571657
this.eventsSubject.next(new OAuthSuccessEvent('token_received'));

0 commit comments

Comments
 (0)