* Document `scope` option in keycloakjs.init
According to https://github.com/keycloak/keycloak/blob/main/adapters/oidc/js/src/keycloak.js#L151-L153 the scope is read during parsing of the init options. This information was missing from the documentation.
* Update securing_apps/topics/oidc/javascript-adapter.adoc
Co-authored-by: andymunro <48995441+andymunro@users.noreply.github.com>
* Update securing_apps/topics/oidc/javascript-adapter.adoc
Co-authored-by: andymunro <48995441+andymunro@users.noreply.github.com>
---------
Co-authored-by: andymunro <48995441+andymunro@users.noreply.github.com>
* Remove WildFly distribution from documentation
Closes#1665
* Update server_admin/topics/authentication/webauthn.adoc
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
* Update upgrading/topics/install_new_version.adoc
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
* Update upgrading/topics/migrate_db.adoc
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
* Update upgrading/topics/migrate_db.adoc
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
* Update server_admin/topics/realms/ssl.adoc
* Update server_admin/topics/user-federation/ldap.adoc
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
* Update server_development/topics/providers.adoc
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
* Update server_development/topics/providers.adoc
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
* Remove section on cilent cert lookup in x509.adoc
* Update securing_apps/topics/oidc/fapi-support.adoc
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
* Add missing images for rh-sso images by moving to shared images as we won't have RH-SSO specific theme anymore
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
I did change the `onTokenExpired` after the init function, not knowing that this would cause nothing to happen. Hence, I think the extra hint here is helpful.
Ideally, we would have an "updateEvent" function in the keycloak provider.
I recieved feedback from customer/users that keycloak client side is widely undocumented, which was surprising.
After checking I found out that in fact for users that use npm there is no documentation provided:
https://www.npmjs.com/package/keycloak-js
This is very rare to see in NPM for package that have such large number of downloads.
Additionally official docs doesn't mention NPM at all and recommend using js package from server (which is not be best advice if you do CDN's etc.).
Additionally some old bower repo is still 3th result in google and since it has some docs people using it:
https://github.com/keycloak/keycloak-js-bower - worth to remove this as well.
Added simple note in the docs so hopefully google will position this documentation
As the JS adapter has evolved, it now tries to add an iframe element to the document body during initialization.
When used like in the basic example as before, there will be an JS error, as the document body is not yet available.
So we've to wait until the document is loaded, thus the initialization is put in a function and the function will be called upon body.onload()
Some of the code examples used 2 spaces, and some were wrongly indented. This PR fixes the inconsistent JavaScript indentation to 4 spaces, and ensures that opening and closing brackets/braces are placed on the same indentation
The documentation currently does not use the same wording as the administrative UI. This makes finding the
correct setting more difficult. Additionally, the documentation does not surround the field names in tick
marks as it does in other places. This makes it less obvious what configuration needs to be done.
This commit adjusts the wording to match the administrative UI. It also ensures the field names are enclosed in tick marks.