Closed laurentC35 closed 10 months ago
Hello @laurentC35, sure no problem
Je te propose:
oidc.logout({ redirectTo: "specific url", url: /*...*/ });
Comme ça on garde la type safety.
Au passage, j'ai retirer le paramètre silentSsoUrl
au profit de et ajouter publicUrl
.
Voir:
Je fait l'autre issue et je release une nouvelle version!
Hi there!
In some cases, we would like to be able to disconnect the user and redirect him to a specific url. Currently the "logout" function returned by the oidcClient only allows 2 possibilities: the current page and the "root" page of the application.
Is it possible to have a 3rd case (or the default case) to redirect to a url passed as a parameter?
Thanks
Simple proposal