Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oidc/gitlab: make project path comparison case insensitive #15512

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

facutuesca
Copy link
Contributor

Following the discussion at #15498, and the corresponding GitHub fix in #15501, this PR fixes the corresponding issue in GitLab trusted publishers.

The GitLab project_path claim corresponds to the string namespace/project (or org/repo, in GH terms). This path is case insensitive, so we change the claim comparison accordingly.

/cc @di @woodruffw

@facutuesca facutuesca requested a review from a team as a code owner February 29, 2024 14:57
Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @facutuesca!

@di di merged commit 09d5343 into pypi:main Feb 29, 2024
17 checks passed
@di di deleted the oidc-gitlab-case-insensitive branch February 29, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants