stable

Clone or download

Read-only

Fix Bearer nomenclature in OAuth2 access token success

The OAuth2 access token should respect the auth-scheme specified for authorization request header in the RFC6750 section 2.1 [0]. Closes request #28282: Token type Bearer should be capitalized in the OAuth2 access token [0] https://www.rfc-editor.org/rfc/rfc6750.html#section-2.1 Co-Authored: Thomas Gerbet <thomas.gerbet@enalean.com> Change-Id: I4bac57596fb63a73afea1fd1af1ce706b3da1ff8

Modified Files

Name
M src/common/OAuth2ServerCore/Grant/OAuth2AccessTokenSuccessfulRequestRepresentation.php +1 −1 Go to diff View file
M tests/unit/common/OAuth2ServerCore/Grant/OAuth2AccessTokenSuccessfulRequestRepresentationTest.php +3 −3 Go to diff View file