-
-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Labels
compliance 📜OAuth 2.0 standard complianceOAuth 2.0 standard compliancegood first issue ✅Good for newcomersGood for newcomers
Description
@jorenvandeweyer commented on pr #105:
In the spec it is defined as it should start with Bearer followed with a whitespace. That's what the additional ^ in the regex is for. I think we should not support BeArEr @Uzlopak
b64token = 1*( ALPHA / DIGIT /
"-" / "." / "_" / "~" / "+" / "/" ) "="
credentials = "Bearer" 1SP b64token
But I do like the check provided for the second part. But that should be a different issue/pull request. Because that check should also be done on the result of generateAccessToken and generateRefreshToken.
Metadata
Metadata
Assignees
Labels
compliance 📜OAuth 2.0 standard complianceOAuth 2.0 standard compliancegood first issue ✅Good for newcomersGood for newcomers