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

Add OIDC support #47

Merged
merged 7 commits into from
Mar 26, 2024
Merged

Add OIDC support #47

merged 7 commits into from
Mar 26, 2024

Conversation

alexhung
Copy link
Member

Close #26, #29, #31, #38

  • Add platform_oidc_configuration and platform_oidc_identity_mapping resources.

@alexhung alexhung added the enhancement Automatically generated release notes label Mar 25, 2024
Update documentation
@alexhung alexhung marked this pull request as ready for review March 25, 2024 21:17
danielmkn
danielmkn previously approved these changes Mar 25, 2024
Switch it from object type to plain string type and let users use encodejson() to define the correct JSON.
Required:

- `scope` (String) Scope of the token. You can use `applied-permissions/user`, `applied-permissions/admin`, or `applied-permissions/group`.
- `username` (String) User name of the OIDC user.
Copy link

Choose a reason for hiding this comment

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

Thanks for this PR!

At present in JFrog UI it is possible to specify a list of groups when applied-permissions/group is selected, e.g. see JFrog CLI GitHub Action configuration. It would be really nice to have it here as well so it is possible to utilize access tokens for Non-existing Users feature.

Copy link
Member Author

Choose a reason for hiding this comment

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

@oxdef Thanks for the suggestion. I'll update the PR today with support for groups.

Make 'priority' a required attribute

Make 'username' an optional attribute

Improve documentation
@alexhung alexhung requested a review from oxdef March 26, 2024 16:42
@alexhung alexhung merged commit 7db70ba into main Mar 26, 2024
3 of 4 checks passed
@alexhung alexhung deleted the GH-26-add-oidc-support branch March 26, 2024 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Automatically generated release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for the OIDC Integration
3 participants