nhost.auth.isAuthenticated
nhost.auth.isAuthenticated()
false
nhost.auth.getAuthenticationStatus
const isAuthenticated = nhost.auth.isAuthenticated() if (isAuthenticated) { console.log('User is authenticated') }
Was this page helpful?