Prevent Logging In Without Promting with Nuxt.js and the Nuxt Auth module

I’ve ran into the same problem and did get the prompt query parameter to work. It ended up being pretty straightforward and clean.

await this.$auth.loginWith('auth0', { params: { prompt: 'login' } })

This forces the login to always ask for credentials.

Hope this helps.

1 Like