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

Federation not working when created together with realm #913

Open
FWest98 opened this issue Jan 7, 2024 · 0 comments
Open

Federation not working when created together with realm #913

FWest98 opened this issue Jan 7, 2024 · 0 comments

Comments

@FWest98
Copy link

FWest98 commented Jan 7, 2024

When I create an instance of the ldap federation together with a new realm in one operation, the federation provider does not function at all. It does not show in the UI, and it is not picked up anywhere. However, I am able to see its configuration by manually navigating to the URL for managing the provider. The provider will only become active once I make another change to it; such as disabling and re-enabling.

This only seems to happen when both the realm and the federation provider are created in one apply operation. When I first create the realm with -target keycloak_realm.foo, and only then create the provider, then it works without issue.

The issue can (for me) be reproduced with the default example at https://registry.terraform.io/providers/mrparkers/keycloak/latest/docs/resources/ldap_user_federation.

Judging by some SO post, it might have to do with passing the correct parentId, which might be a similar issue to #694?

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

No branches or pull requests

1 participant