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

add userClientRole protocol mapper #299

Merged
merged 2 commits into from
May 28, 2020
Merged

add userClientRole protocol mapper #299

merged 2 commits into from
May 28, 2020

Conversation

dlechevalier
Copy link
Contributor

Hi @mrparkers , i closed previous PR #287 and clean commits before submitting this one.

- `name` - (Required) The display name of this protocol mapper in the GUI.
- `claim_name` - (Required) The name of the claim to insert into a token.
- `claim_value_type` - (Optional) The claim type used when serializing JSON tokens. Can be one of `String`, `JSON`, `long`, `int`, or `boolean`. Defaults to `String`.
- `multivalued` - (Optional) Indicates if attribute supports multiple values. If true, then the list of all values of this attribute will be set as claim. If false, then just first value will be set as claim. Defaults to `true`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default in your code is false (I only know because there was pr to fix this on user realm role protocol mapper)

@tomrutsaert
Copy link
Contributor

As mrparkers already looked at this (in #287) and as all seems good to me,
I will merge once the documentation remark is fixed

Copy link
Contributor

@mrparkers mrparkers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, LGTM with the docs fix. Thank you!

@dlechevalier
Copy link
Contributor Author

Thanks for your feedbacks @tomrutsaert @mrparkers . Doc fixed!

@tomrutsaert tomrutsaert merged commit d70a887 into keycloak:master May 28, 2020
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

Successfully merging this pull request may close these issues.

3 participants