Skip to content

Commit

Permalink
Merge pull request #175 from NipuniBhagya/logout-fix
Browse files Browse the repository at this point in the history
Disable isAuthenticated check before logout request
  • Loading branch information
NipuniBhagya authored Jul 29, 2024
2 parents 9fe50c4 + 5df0687 commit 4465a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ export class AsgardeoSPAClient {
* @preserve
*/
public async signOut(): Promise<boolean> {
await this._validateMethod();
await this._validateMethod(false);

const signOutResponse = (await this._client?.signOut()) ?? false;

Expand Down

0 comments on commit 4465a86

Please sign in to comment.