Hi,
I'm using your OIDC plugin, but the version I'm currently using (4.14.2) uses the user's email address as the username. However, I want to use the CUID (Customer User ID) sent by the OIDC server instead because I'm considering replacing my SAML-based authentication system with OIDC. To ensure a smooth transition and maintain the integrity of user data, I would like OIDC to have the same user identification behavior as SAML, which means using the CUID as the username, to prevent the creation of duplicate users when implementing OIDC. Is this possible with the OIDC plugin?
Thank you in advance.
The attached patch should get you most of the way there - you will need to change $result->nickname to correspond with the OpenID Claim your provider returns.
Hi, I'm using your OIDC plugin, but the version I'm currently using (4.14.2) uses the user's email address as the username. However, I want to use the CUID (Customer User ID) sent by the OIDC server instead because I'm considering replacing my SAML-based authentication system with OIDC. To ensure a smooth transition and maintain the integrity of user data, I would like OIDC to have the same user identification behavior as SAML, which means using the CUID as the username, to prevent the creation of duplicate users when implementing OIDC. Is this possible with the OIDC plugin? Thank you in advance.