To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/27806d78-2aea-4da0-ac58-ae63596eb9e0n%40googlegroups.com.
AFAIK it is sufficient to just disable the “Update Password” required action on a realm. Then users cannot change their password (only using the old account console, but not the new one).
Best regards,
Sebastian
Mit freundlichen Grüßen / Best regards
Dr.-Ing. Sebastian Schuster
Product Area User Management (BD/PAU1)
Bosch.IO GmbH | Ullsteinstr. 128 | 12109 Berlin | GERMANY | www.bosch.io
Tel. +49 30 726112-485 | Mobil +49 152 02177668 | Telefax +49 30 726112-100 | Sebastian...@bosch.io
Sitz: Berlin, Registergericht: Amtsgericht Charlottenburg; HRB 148411 B
Aufsichtsratsvorsitzender: Stefan Koss; Geschäftsführung: Dr. Andreas Nauerz, Stephan Lampel
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/83ea0165-fcae-48ea-a4c6-b5aa36e74b84n%40googlegroups.com.
AuthenticationFlowError = Java.type("org.keycloak.authentication.AuthenticationFlowError");function authenticate(context) {LOG.info(script.name + " --> trace auth for: " + user.username);if ( user.getAttributes().no_local ) {context.failure(AuthenticationFlowError.INVALID_USER);return;}context.success();}