Fixed
Project:
Social Auth Keycloak
Version:
2.0.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2026 at 11:10 UTC
Updated:
13 Apr 2026 at 20:38 UTC
Jump to comment: Most recent
I have installed the module and found out that the scope "openid" is required for Keycloak 26.
Install keycloak 26+ and the oauth keycloak module 2 on drupal 11.
Adjust the function by adding the scope openid in the source file KeycloakAuthManager.php:
/**
* {@inheritdoc}
*/
public function getAuthorizationUrl(): string {
$scopes = [
'openid',
'email',
'profile',
];
Comments
Comment #2
drummWe have been using this with Keycloak 26, but maybe there were more restrictions throughout the 26.* series. Or potentially the following code injects
openidin our situation.Regardless, https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest says
So this should be a good change to make.
Comment #4
drumm