I want to enforce app updates by checking a version code in the request header. If the version code incorrect, the request should be blocked immediately, and a special response code should be returned to inform the app that it needs to force an update.
Does Keycloak have a built-in feature for this?
If not, what is the best way to implement this using Keycloak (e.g., custom authenticators, protocol mappers, or other methods)?
Any suggestions or best practices would be greatly appreciated! ![]()