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

feat: add OIDC_ALLOW_ALL_USERS , allow all users to access, even those not in the allowed groups. #56

Closed
wants to merge 4 commits into from

Conversation

NeroBlackstone
Copy link

@NeroBlackstone NeroBlackstone commented Dec 11, 2024

In this PR:

  • Add OIDC_ALLOW_ALL_USERS to allow all users to access.
    Motivation: Assuming there is a self-hosted gitlab in the organization, all users in gitlab should have authorized to access MLFlow. Save the trouble of manually adding them to the group one by one

  • Added a script to initialize the development environment.(clear authorized user data)

  • Add strtobool function, avoiding dependencies on distutils

  • Avoid warnings: Usage of '~' in imports is deprecated.

  • Fix bugs: If there is no groups field in the id token and userinfo, HTTP 500 will be caused

Add scope variable hint.
@NeroBlackstone NeroBlackstone changed the title Update README.md docs: Update README.md Dec 11, 2024
@NeroBlackstone NeroBlackstone changed the title docs: Update README.md docs: update README.md Dec 11, 2024
@NeroBlackstone NeroBlackstone changed the title docs: update README.md feat: Add OIDC_ALLOW_ALL_USERS , Allow access to all users, even those not in the allowed groups. Dec 12, 2024
@NeroBlackstone NeroBlackstone changed the title feat: Add OIDC_ALLOW_ALL_USERS , Allow access to all users, even those not in the allowed groups. feat: add OIDC_ALLOW_ALL_USERS , allow all users to access, even those not in the allowed groups. Dec 12, 2024
@NeroBlackstone
Copy link
Author

If you find it inconvenient to review, I can close this PR and split it into other PRs (I think the code changes will be clearer this way).

@kharkevich
Copy link
Contributor

dear @NeroBlackstone,
could you please split this into separate PRs?

regarding the GitLab integration case, could you check if it can be implemented as an independent plugin (similar to how group retrieval works for MS Entra ID)?

@NeroBlackstone
Copy link
Author

Close PR for split it into other PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants