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
In v0.2.0 and v0.2.1 the regex check that uses regexPatternForAuthHeader = "^(Bearer ([\\w-]*\\.[\\w-]*\\.[\\w-]*))$" fails because our tokens do not adhere to that regex pattern. What is the purpose of this regex check?
It could still check for Bearer and a string, why does it need to be a jwt?
In
v0.2.0
andv0.2.1
the regex check that usesregexPatternForAuthHeader = "^(Bearer ([\\w-]*\\.[\\w-]*\\.[\\w-]*))$"
fails because our tokens do not adhere to that regex pattern. What is the purpose of this regex check?It could still check for Bearer and a string, why does it need to be a jwt?
Reference https://github.com/clastix/capsule-proxy/blob/d85232c51624817909af86825fbc70c32e27be0e/internal/webserver/middleware/authorization.go#L19
The text was updated successfully, but these errors were encountered: