You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using keycloak-restrict-client-auth` with Policy-Based mode. When I want to use Regex Client Policy on multivalue attributes it does not work.
For example, I have User user1 with an attribute:
"attr": [
"1test",
"2test"
],
If I define the target_claim to my_attr and regex pattern to 1test it works, but when I would like to check the 2test I have no idea how to do it 😞. Do you know any solution?
Expected Behavior
Check each value from multivalued attribute not only first.
Steps To Reproduce
Create Policy-Based flow,
Use Regex policy based on multivalued attribute
Check the second value of attribute in Policy
Version
- Keycloak: 24.0.1
- This extension: 24.0.0
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
Using keycloak-restrict-client-auth` with Policy-Based mode. When I want to use Regex Client Policy on multivalue attributes it does not work.
For example, I have User user1 with an attribute:
If I define the target_claim to my_attr and regex pattern to 1test it works, but when I would like to check the 2test I have no idea how to do it 😞. Do you know any solution?
![image](https://private-user-images.githubusercontent.com/56539674/315539936-201db826-cbe1-494a-84af-2bccbf98a7de.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE4MTIyNTYsIm5iZiI6MTcyMTgxMTk1NiwicGF0aCI6Ii81NjUzOTY3NC8zMTU1Mzk5MzYtMjAxZGI4MjYtY2JlMS00OTRhLTg0YWYtMmJjY2JmOThhN2RlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI0VDA5MDU1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYzMzhhNmNjY2IxZjRiMjQ5NjdkOWU2OWRjYjA0ZTk5OWY4ZjU3YWUxY2QwYzI0MjBiZDMzNWQwZDJmZDhlMjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.8vYJvEAQ5bsiMiyjW3Wj8ctaxQg6j8ifKBK08LRE4bQ)
Expected Behavior
Check each value from multivalued attribute not only first.
Steps To Reproduce
Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: