-
Notifications
You must be signed in to change notification settings - Fork 313
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
Support flows and executions #15
Comments
This is something on my todo list, I should be tackling this in the coming weeks |
I actually started this on the Unfortunately, I wasn't able to come up with a good way to manage nested flows and executions, which is a use case I have for this particular feature. Keycloak allows you to create top-level flows and subflows, and you can technically have an infinite number of subflows. I couldn't figure out a way to elegantly do this within the provider. I was hoping that v0.12 would have better support for features like this, but I haven't gotten back to this since that update was made. |
I would need this functionality as well. We have a lot of custom authenticators with config and thus also custom flows and executions. |
@mrparkers, FYI: I will be working on this issue |
The more I look at this, the more I think there should be a separation between topLevelFlows, subFlows and executions. |
Thanks @tomrutsaert, I'm glad you have the time to take a look at this. My branch, as you have probably noticed already, is not quite production ready yet, although the foundation for what you need should be mostly there. The part I really struggled with was understanding how we can represent subflows in HCL and relate them to the top level flows, or other subflows that are a parent to them. The problem I encountered was that subflows needed to know what flow they are a child of, and the parent flow needed to know about the subflow in order to enforce ordering (to ensure subflow A comes before subflow B for example). This created a bidirectional data flow that I didn't know how to represent in HCL. The only idea I had that I didn't have a chance to implement was a data source like I don't know if this will actually work, but feel free to give that a try or pitch some other ideas you might have. |
Hey :) Is there any progress on adding flows? Would be a great feature! |
Can't this be closed now with #138 in? |
Yes, you are right. |
This would allow for Terraform to manage arbitrary execution flows that can then override the default flows on either a client or realm-level; the main benefit being that it would allow for custom authenticators to be used to paper over legacy auth solutions or even to require customers to accept new terms and conditions.
API docs:
The text was updated successfully, but these errors were encountered: