Open fujin opened 1 week ago
Agree, we need to add something similar to this, to the Client
r.References["browser_flow"] = config.Reference{
Type: "github.com/crossplane-contrib/provider-keycloak/apis/authenticationflow/v1alpha1.Flow",
Extractor: common.PathAuthenticationFlowAliasExtractor,
RefFieldName: "BrowserFlowRef",
SelectorFieldName: "BrowserFlowSelector",
}
i'll do that as soon as i have time
can you test out that RC ?
xpkg.upbound.io/crossplane-contrib/provider-keycloak:v0.24.0-rc.1.1.g8291ace
Currently the openidclient spec has a
authenticationFlowBindingOverrides
[]Object field, which has child fieldsbrowserId
anddirectGrantID
.As we are creating a Flow and (OpenID) Client via crossplane, we would like to set in the OpenID client the authenticationFlowBindingOverrides for browserID, to the Flow we have created.
In pure cdktf we had been access/reference the ID of the Flow resource, while in Crossplane this requires usage of Composition: XRD,XR. I'll attach mine here (momentarily) so you can see them.
What I'd like: authenticationFlowBindingOverrides to be allow "Id ref" type semantics, imagined:
in Client:
Prior art: https://github.com/adorsys/keycloak-config-cli/pull/178