eidas-keycloak-extension icon indicating copy to clipboard operation
eidas-keycloak-extension copied to clipboard

Keycloak new GUI support

Open xsuchy09 opened this issue 2 years ago • 7 comments

First of all thanks for all the job you have done.

Is there any plan to support new GUI of Keycloak? There is no support from version 18.0.2 (19+) at least for initial setup.

xsuchy09 avatar Jan 03 '24 16:01 xsuchy09

Updated the codebase for keycloak 24.0.4. Now the extra attributes appear in the new admin UI, and you do not have to set them up using some low-level technique (json import or directly from the database).

Still two (minor) caveats related to the new admin UI

  • When you first setup the provider it displays a clientId and a clientSecret which are not used anywhere. Just include some fake values and ignore. This is related to https://github.com/keycloak/keycloak/pull/24266 .
  • The new keycloak can help users by reading the configuration from a url (metadata descriptor). This is hardcoded in the admin UI, so it does not appear in the custom provider.

d-michail avatar May 21 '24 10:05 d-michail

I have tried this extension with KC 23.074 and 24.0.5 and i can't view the SAML Extensions Config options

cesarcoruna avatar Jun 05 '24 10:06 cesarcoruna

Full UI support is back in version 24. For version 23 you need to configure either with realm json import, or use some admin API client, or directly from the database.

In version 24 the extra options (Service Provider Country of Origin, Level Of Assurance, Private sector service provider, Requested Attributes) appear in the first page of the provider under the "General Settings" right under the Endpoints.

They also appear in the first screen when you press "Add provider".

d-michail avatar Jun 05 '24 11:06 d-michail

Those attributes only appear in the momment you create the IDP. When you are editing an exinsting one they don't appear as it's said in doc page https://github.com/grnet/eidas-keycloak-extension/blob/main/howto/README.md

Here you are the config page i see in keycloak 24.0.5 kc24-options

cesarcoruna avatar Jun 05 '24 11:06 cesarcoruna

In 24 they do. Make sure that you are running the version of the extension for kc 24 and kc 24.

Screenshot from 2024-06-05 15-20-37

We have no control where keycloak renders the extra attributes. They are now at the very beginning of the page. See screenshot.

d-michail avatar Jun 05 '24 12:06 d-michail

Yes, you are right. That position is very different that it is in documentation and, because of that, i didn't see it. Thanks

cesarcoruna avatar Jun 05 '24 12:06 cesarcoruna

Indeed. The docs have screenshots from older versions. I will try to add some screenshots with the 24 version behavior. Thanks

d-michail avatar Jun 05 '24 13:06 d-michail