Support arrays and non-arrays at the same time as provided role? #4065
-
From the clients IDP we either get "role1" as string if the user has one role or ["role1", "role2"] as array if the user has multiple roles. Supporting both formats at the same time is currently not possible if i see that correctly (even with #3813) ? |
Beta Was this translation helpful? Give feedback.
Answered by
taimoorzaeem
May 10, 2025
Replies: 1 comment 7 replies
-
Yes. If you plan to use multiple roles with #3813 then I think you should always get your roles from client in an array. |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
taimoorzaeem
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. If you plan to use multiple roles with #3813 then I think you should always get your roles from client in an array.