RH-SSO user input validation support

Solution Verified - Updated -

Environment

  • Red Hat Single Sign-On (RH-SSO)
    • 7

Issue

  • Is there any input validation done in RH-SSO forms ?
  • Is it possible to add dynamic validations to account management and updateProfile pages ?

Resolution

Validation of users input (either on login screens, or account management screens, etc..) is not something available out of the box in Keycloak/RH-SSO yet.
It can be quite complex also and is more something that is customer-specific as based on different requirements and use cases, including the ability to allow customized validation.

There are several Keycloak jiras already raised for this. The main one is actually being tracked as a Feature Request KEYCLOAK-2966: Profile SPI (see also all the other jiras linked in the same).

Keycloak/RH-SSO Development team is looking to create a more flexible Profile SPI that can be used to provide meta-data for user profile attributes, a mechanism to define simple attributes, and validation support.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments