Prevent the use of drupal local login

Created on 13 March 2025, 4 days ago

Problem/Motivation

I'm trying to configure Keycloak OpenID Connect to be the one and only login facility for my website.

From the keycloak module, I enabled the option "Replace Drupal login with Keycloak single sign-on (SSO)". But as it states below this option, the local drupal login is still avaliable at /keycloak/login. I would like to prevent this from being possible. For now I just use an apache instruction to redirect users from /keycloak/login to /404, but is there a built-in feature that fully disable the local drupal login ?

Thanks !

💬 Support request
Status

Active

Version

1.8

Component

Documentation

Created by

🇫🇷France jblouvet

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jblouvet
  • 🇧🇪Belgium BramDriesen Belgium 🇧🇪

    Good question, I didn't even know this route existed. I don't really see an issue with this being configurable through (yet another) checkbox though. Since this is a custom route being defined by the keycloak module there is no off the shelf module that allows to block it.

    Changing to feature request.

Production build 0.71.5 2024