[keycloak-user] silentCheckSsoRedirectUri

Christophe Lehingue clehingue at gmail.com
Wed Sep 18 08:21:26 EDT 2019


Hello,

I am in the process of testing the "silentsso" with the latest version
of the keycloak-js download on github.

Question, according to the doc:*keycloak.init ({onLoad: 'check-sso',
silentCheckSsoRedirectUri: window.location.origin +
'/silent-check-sso.html'}*

What should the page contain: *silent-check-sso.html* (if you have an
example, I'm interested)

Do you have an idea ?

Thank you.


Le jeu. 12 sept. 2019 à 19:47, Niko Köbler <niko at n-k.de> a écrit :

> Answers inline.
>
> Am 12.09.2019 um 12:44 schrieb Christophe Lehingue <clehingue at gmail.com>:
>
> Thank you for your answers.
>
> Do you have any idea of the release of the V8?
>
> No.
> 7 was just released, so it may take some time.
>
>
> Otherwise, I only use the basic features of the JS client.
>
> You say: "But be aware, that other things might not work with a keycloak-js v8.x and a lower server verision".
>
> What would be the things that would not work with the V8 and keycloak server 6.0.1?
>
> Don‘t know.
> I only implemented the silentCheckSso feature. Don‘t know about other
> features.
>
> Generally, you should always use adapters in same or minor/smaller
> versions as server. This way, you‘re more safe to breaking changes.
> Upgrade server first, then adapters/clients.
>
>
> Thank you.
>
> You‘re welcome.
>
>
> Le jeu. 12 sept. 2019 à 10:26, Niko Köbler <niko at n-k.de> a écrit :
>
>> 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> 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>:
>> >
>> > 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
>> > https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>>
>>
>>
>


More information about the keycloak-user mailing list