[keycloak-user] silentCheckSsoRedirectUri

Niko Köbler niko at n-k.de
Thu Sep 12 04:26:34 EDT 2019


The server version doesn't matter for silent-check-sso, it's a pure client feature.
You could use the current keycloak-js version from the GitHub repository and give it a try. The release v7 of keycloak-js doesn't contain this feature yet.

But be aware, that other things might not work with keycloak-js v8.x and a lower server verision!



> Christophe Lehingue <clehingue at gmail.com> hat am 11. September 2019 um 20:10 geschrieben:
> 
>     Hello,
> 
>     Thanks for your reply and your help.
> 
>     I'm use the version 7.0.0. of : keycloak-oidc(keycloak-js)
>     My keycloak server  version : 6.0.1
> 
> 
>     it will be necessary to wait for version 8 of keycloak-js? 
>     if so, will this version 8 be compatible with the version "keycloak server 6.0.0"?
> 
> 
>     Thanks
> 
>     Le mer. 11 sept. 2019 à 18:27, Niko Köbler < niko at n-k.de mailto:niko at n-k.de > a écrit :
> 
>         > > Which version do you use?
> >         The silentCheckSso Feature will be contained in v8.x, it's the next release, not yet publicly available, only from sources.
> > 
> >         - Niko
> > 
> > 
> > 
> >         > Am 11.09.2019 um 14:28 schrieb Christophe Lehingue < clehingue at gmail.com mailto:clehingue at gmail.com >:
> >         >
> >         > Hello,
> >         >
> >         > I use keycloak and it works fine.
> >         >
> >         > I have a question about "on login: check-sso (plugin: js)".
> >         >
> >         > Is there a way to prevent the page from loading 2 times in a row?
> >         >
> >         > I tried with the silentCheckSsoRedirectUri
> >         >
> >         > var initOptions = {
> >         > responseMode: 'query',
> >         > flow: 'standard',
> >         > checkLoginIframe: true,
> >         > onLoad: 'check-sso',
> >         > silentCheckSsoRedirectUri: 'https:
> >         > //www.mapage/identityserver-sample-silent.html'
> >         > };
> >         >
> >         > But it does not seem to work (certainly that I do it wrong).
> >         >
> >         > Can you help me ?
> >         >
> >         > Regards,
> >         > Christophe
> >         >
> >         >
> >         >
> >         > ====== IN FRENCH =============================
> >         >
> >         > BOnjour,
> >         >
> >         > J'utilise keycloak et cela fonctionne correctement.
> >         >
> >         > J'ai une question concernant "on login: check-sso (pluging : js) ".
> >         >
> >         > Y' a t'il une possibilité d'empêcher la page de se charger 2 fois de suite ?
> >         >
> >         > J'ai essayé avec le silentCheckSsoRedirectUri
> >         >
> >         > var initOptions = {
> >         > responseMode: 'query',
> >         > flow: 'standard',
> >         > checkLoginIframe: true,
> >         > onLoad: 'check-sso',
> >         > silentCheckSsoRedirectUri: '
> >         > https://www.mapage/identityserver-sample-silent.html'
> >         > };
> >         >
> >         > Mais ça n'a pas l'air de fonctionner (certainement que je m'y prends mal).
> >         >
> >         > Pouvez-vous m'aider ?
> >         >
> >         > Cordialement,
> >         > Christophe
> >         > _______________________________________________
> >         > keycloak-user mailing list
> >         > keycloak-user at lists.jboss.org mailto:keycloak-user at lists.jboss.org
> >         > https://lists.jboss.org/mailman/listinfo/keycloak-user
> > 
> > 
> >     > 




More information about the keycloak-user mailing list