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 keycloak_realm_user_profile resource #658

Merged
merged 7 commits into from
Mar 15, 2022

Conversation

maximepiton
Copy link
Contributor

Hello there,

This PR adds a User Profile resource to the provider (as my team need it).

As the User Profile is still a preview feature, and is managed through a specific endpoint, I thought that it was better to set it as a separate resource and not set user profile settings in the keycloak_realm resource directly.

Some tests unrelated to this feature (keystores, federation) fail when I run them locally, but I think it's a flakiness issue..?

Let me know what you think!

@maximepiton
Copy link
Contributor Author

To have the tests running successfully in CI, the -Dkeycloak.profile.feature.declarative_user_profile=enabled flag should be added in .github/workflows/test.yml:97, but I apparently don't have the rights to do so (which makes sense)

Copy link
Contributor

@mrparkers mrparkers left a comment

Choose a reason for hiding this comment

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

Hi @maximepiton, thanks for getting this PR submitted. I'm sorry it took so long to review. I just got around to testing this out today and everything looks good. I have a few minor nitpicks to the code but I'm just going to take care of those in a follow-up PR for you.

LGTM 🚀

@mrparkers mrparkers merged commit 2fcc6a0 into keycloak:master Mar 15, 2022
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