Skip to content

Incorrect User Mapping #53

Description

@nasmolin

Description

After enabling the authentication module, redirection to the private GitLab and the overall authentication process work correctly. However, I am always authenticated in Sentry as admin@sentry.local (the initial user), regardless of the GitLab user I use for authentication.

Expected Behavior

Users should be authenticated in Sentry with the same identity(email) as their GitLab account.

Observed Behavior

All users are mapped to admin@sentry.local, ignoring the actual GitLab user.

Additional Information

Sentry Version: 24.8.0, 25.1.0
sentry-auth-oidc Version: 9.0.0
GitLab Version: 17.4

Configuration Details:

sentry.conf.py:

...
OIDC_CLIENT_ID = "***"
OIDC_CLIENT_SECRET = "***"
OIDC_SCOPE = "openid email profile"
OIDC_DOMAIN = "https://gitlab.domain.com"

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions