skip to content
Alvin Lucillo

Checking auth result

/ 1 min read

💻 Tech

Checking whether the authentication is successful or not, you can use isAuthenticated$. This is helpful if you don’t want to show the login page once the user is authenticated.

const auth = await firstValueFrom(this.auth0Service.isAuthenticated$);