Error to built redirect URL

Created on 2 October 2023, 9 months ago
Updated 7 November 2023, 8 months ago

Problem/Motivation

When the user is redirect to Keycloak Login URL, an error is showing when the URL is builting (See the error below).

The website encountered an unexpected error. Please try again later.

Symfony\Component\Routing\Exception\InvalidParameterException: Parameter "openid_connect_client" for route "openid_connect.redirect_controller_redirect" must match "[^/]++" ("" given) to generate a corresponding URL. in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 203 of core/lib/Drupal/Core/Routing/UrlGenerator.php).

This same error has been reported at πŸ› Upgrade problems openid_connect 1 to 2 Needs review

Steps to reproduce

  1. Enable Keycloak
  2. Configure the Keycloak to be used as login
  3. Try to access the login page

Proposed resolution

Apply a similar solution from πŸ› Upgrade problems openid_connect 1 to 2 Needs review

πŸ› Bug report
Status

Fixed

Version

2.2

Component

Code

Created by

πŸ‡§πŸ‡·Brazil viniciusrp

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

Comments & Activities

Production build 0.69.0 2024