This is a pre-release version which should be used to test the feature of multiple ref types for clientID & clientScopeId in Managed Resource ProtocolMapper. Once tested successfully it can be released and the same principle can be applied to other Managed Resources.
Details:
The type of a reference property can point to exactly one specific kind:
kind: ProtocolMapper
spec:
forProvider:
clientIdRef:
name: oidcClient
Currently clientIdRef can only point to Managed Resources of type OpenIdClient
Within this release you can set either an SamlClient via:
kind: ProtocolMapper
spec:
forProvider:
samlClientIdRef:
name: "saml-client"
Or an OpenIdClient via:
kind: ProtocolMapper
spec:
forProvider:
oidcClientsRef:
name: "oidc-client"
Hint: We are potentially releasing this as major version with new API version due to breaking changes