I am trying to get the user details after authenticating with Keycloak v21.0.2. I am getting the details with the user authenticated with the client and client scopes. But I am adding a new client scope of Type Group Membership then the code is breaking and giving me errors as "Notice: Undefined index: error_description" and is not returning anything.
Group membership Client scope :
Error from Symfony :
Now if I remove the group client scope and it is returning back the token. I am not sure if this is issue with Keycloak or the oauth-client-bundle which we are using.
User coming from LDAP/AD Directory will be having group information associated and will have access to application based upon the groups only, hence it is mandatory to get the group in the token.
@stevenmaguire/anyone Any help or suggestion will be appreciated.
I am trying to get the user details after authenticating with Keycloak v21.0.2. I am getting the details with the user authenticated with the client and client scopes. But I am adding a new client scope of Type Group Membership then the code is breaking and giving me errors as "Notice: Undefined index: error_description" and is not returning anything. Group membership Client scope :
Error from Symfony :
Now if I remove the group client scope and it is returning back the token. I am not sure if this is issue with Keycloak or the oauth-client-bundle which we are using.
User coming from LDAP/AD Directory will be having group information associated and will have access to application based upon the groups only, hence it is mandatory to get the group in the token.
@stevenmaguire/anyone Any help or suggestion will be appreciated.