8000 OIDC Plugin : Using CUID as Username Instead of Email. · Issue #95 · dominik-th/matomo-plugin-LoginOIDC · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 11, 2026. It is now read-only.
This repository was archived by the owner on Nov 11, 2026. It is now read-only.

OIDC Plugin : Using CUID as Username Instead of Email. #95

Open
8000

Description

@OrangeTech-Melissa

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.

Activity

  1. bcooksley commented on Dec 21, 2023

    @bcooksley

    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.

    kde-changes.txt

  2. vladimirdulov commented on Nov 13, 2024

    @vladimirdulov

    A PR submitted to sort this issue.

  3. OrangeTech-Melissa commented on Dec 3, 2024

    @OrangeTech-Melissa
    Author

    Thank you for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0