Render User Profile form even if all required attributes are set

147 views
Skip to first unread message

Bergmann Johannes (IOC/PAU2)

unread,
Sep 15, 2021, 1:18:52 PM9/15/21
to keyclo...@googlegroups.com

Hello,

 

I checked the User Profile rendering functionality with the VerifyProfile  action as described at https://www.keycloak.org/docs/latest/server_admin/#forcing-user-profile-compliance

 

Is there any way to get the user profile page rendered when all required attributes are already filled? Client apps would link to the page, so that users can review their data.

 

Best regards

Johannes Bergmann


Bosch.IO GmbH | Ziegelei 7 | 88090 Immenstaad | GERMANY | www.bosch.io
Tel. +49 7545 202-548 | Mobile +49 173 6953194 | Fax +49 7545 202-301 | Johannes...@bosch.io


Registered Office: Berlin, Registration Court: Amtsgericht Charlottenburg; HRB 148411 B
Chairman of the Supervisory Board: Dr.-Ing.
Thorsten Lücke; Managing Directors: Dr. Stefan Ferber, Dr. Aleksandar Mitrovic, Yvonne Reckling

Pedro Igor Craveiro e Silva

unread,
Sep 15, 2021, 4:04:04 PM9/15/21
to Bergmann Johannes (IOC/PAU2), keyclo...@googlegroups.com
There isn't. But I think this is somewhat related to Application Initiated Action (AIA)?

If user profile is enabled, an authorization request passing `kc_action=UPDATE_PROFILE` should force this action.

Did you try it out?

--
You received this message because you are subscribed to the Google Groups "Keycloak Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-dev/5b5f664ae799468c9b456792d2ae9134%40bosch.io.

Bergmann Johannes (IOC/PAU2)

unread,
Sep 16, 2021, 4:01:57 AM9/16/21
to Pedro Igor Craveiro e Silva, keyclo...@googlegroups.com

Thank you Pedro, the URL parameter “kc_action=UPDATE_PROFILE” does what I tried to achieve. It brings up the profile page for update and shows attributes as specified with  “Enabled when scope” setting at the attributes.

Took some time to understand that “Enabled when scope” must be set to have control if attribute is shown or not. Otherwise the attribute is shown by default. The UI hint is clear on that, so it’s just about understanding that “enabled” actually also means “is shown”.

 

Best regards

Johannes Bergmann


Bosch.IO GmbH | Ziegelei 7 | 88090 Immenstaad | GERMANY | www.bosch.io
Tel. +49 7545 202-548 | Mobile +49 173 6953194 | Fax +49 7545 202-301 | Johannes...@bosch.io


Registered Office: Berlin, Registration Court: Amtsgericht Charlottenburg; HRB 148411 B
Chairman of the Supervisory Board: Dr.-Ing.
Thorsten Lücke; Managing Directors: Dr. Stefan Ferber, Dr. Aleksandar Mitrovic, Yvonne Reckling

Reply all
Reply to author
Forward
0 new messages