https://cerbos.dev logo
#help
Title
# help
j

Jesum Yip

08/18/2023, 5:44 AM
help!
oauth2|abc-de-fgH|0123123asdasdasd
is not allowed as in
Principal.PrincipalPolicy
?? i guess it's the
|
character? there's no way around this?
Copy code
invalid Policy.PrincipalPolicy: embedded message failed validation | caused by: invalid PrincipalPolicy.Principal: value does not match regex pattern "^[[:alpha:]][[:word:]\\@\\.\\-]*(\\:[[:alpha:]][[:word:]\\@\\.\\-]*)*$"
d

Dennis (Cerbos)

08/18/2023, 5:47 AM
j

Jesum Yip

08/18/2023, 5:48 AM
ouch. i have a customer request that's due on Monday and this is a blocker for me unfortunately. 😞
i'll have to figure a workaround
but when you do get around to fixing it, can you include the
|
pipe character into that regex?
or make the regex configurable in the helm chart?
d

Dennis (Cerbos)

08/18/2023, 5:50 AM
Can you please add a comment and upvote the issue?
j

Jesum Yip

08/18/2023, 5:50 AM
ok
done
d

Dennis (Cerbos)

08/18/2023, 5:57 AM
Thank you
2 Views