-
Notifications
You must be signed in to change notification settings - Fork 325
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 ClientScopeId at GenericClientProtocolMapper #229
Support ClientScopeId at GenericClientProtocolMapper #229
Conversation
- use only tabs at release-targets.json - document missing environment variable for local test execution
- use helper function protocolMapperPath() - add function Validate() - make client_id optional at schema - use same function names as resourceKeycloakOpenIdUserPropertyProtocolMapper
- add missing clientScopeId at several functions - ensure that either ClientId or ClientScopeId is set, but not both - fix description of attribute realm_id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks for the PR!
Please revert the change on GetGenericClientProtocolMappers, that breaks my terraformer provider. |
@trois-six : Could you please provide more information why this patch is problematic. Do you have a test case which currently fails, but should work? |
The only place where it's used (I created that function with that goal in mind) is here: https://github.com/GoogleCloudPlatform/terraformer/blob/master/providers/keycloak/openid_client.go#L157 |
I'm not sure, if I understand the problem. The function
If this is the problem, then I can create a PR, but this would change the signature of the function (remove parameter |
It returns a OpenidClientWithGenericClientProtocolMappers, with an array of mappers associated to the oidc client. The idea is to get an inventory of all the mappers associated to the oidc client. |
Ok, I see the array of mappers is hidden in the struct I have seen that not a complete revert of this pull request has been done but a bug fix instead. So I'm absolutely o with the current situation. |
fixes #225