diff --git a/projects/lib/src/oauth-service.ts b/projects/lib/src/oauth-service.ts index 1cfe6221..b49a86ea 100644 --- a/projects/lib/src/oauth-service.ts +++ b/projects/lib/src/oauth-service.ts @@ -1275,6 +1275,15 @@ export class OAuthService extends AuthConfig { } } + /** + * Reset current implicit flow + * + * @description This method allows resetting the current implict flow in order to be initialized again. + */ + public resetImplicitFlow(): void { + this.inImplicitFlow = false; + } + protected callOnTokenReceivedIfExists(options: LoginOptions): void { const that = this; if (options.onTokenReceived) {