jwt role with special characters #2281
-
Is there any way to apply some regex or similar to the role-claim-key in order to return only a substring of the value? To address a use case where the role in the claim contains special characters such as "-" and "." which are not allowed in postgres roles, ending up with no match possible between roles. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use those special characters in a pg role:
Are you seeing an error when trying that type of role through PostgREST? |
Beta Was this translation helpful? Give feedback.
You can use those special characters in a pg role:
Are you seeing an error when trying that type of role through PostgREST?