This allows SSO login without any redirection.
A walkthrough of the implementation is available at https://auth0.com/docs/api-auth/tutorials/silent-authentication.
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 } })
Most helpful comment
@riccardogioratoatoms
I found you can simply pass additional parameters like this:
You can also set
stateandnonceyourself if you don't wantnanoid()to be used:$auth.loginWith('strategy', { params: {...}, state, nonce } })