Auth-module: Silent Authentication (OpenID Connect prompt=none)

Created on 30 May 2018  路  4Comments  路  Source: nuxt-community/auth-module

What problem does this feature solve?

This allows SSO login without any redirection.

What does the proposed changes look like?

A walkthrough of the implementation is available at https://auth0.com/docs/api-auth/tutorials/silent-authentication.

This feature request is available on Nuxt.js community (#c149)
enhancement

Most helpful comment

@riccardogioratoatoms
I found you can simply pass additional parameters like this:

$auth.loginWith('auth0', { params: { prompt: 'none' } })

You can also set state and nonce yourself if you don't want nanoid() to be used:

$auth.loginWith('strategy', { params: {...}, state, nonce } })

All 4 comments

I have the same need ! If you progress on this feature please keep me in touch. I'm thinking of an implementation on my side.

Hi @alexbonhomme. It's been a while since the opening of this issue, do you have any implementation to show and save us some time?

Hey @ishitatsuyuki were you able to solve this issue with newer versions of this auth-module?

@riccardogioratoatoms
I found you can simply pass additional parameters like this:

$auth.loginWith('auth0', { params: { prompt: 'none' } })

You can also set state and nonce yourself if you don't want nanoid() to be used:

$auth.loginWith('strategy', { params: {...}, state, nonce } })

Was this page helpful?
0 / 5 - 0 ratings

Related issues

amjadkhan896 picture amjadkhan896  路  3Comments

abegehr picture abegehr  路  4Comments

eatyrghost picture eatyrghost  路  3Comments

pi0 picture pi0  路  3Comments

yuwacker picture yuwacker  路  3Comments