mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 17:56:14 +05:30
Don't base64 decode the bearer token
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
This commit is contained in:
parent
4fdfb63128
commit
5ed4a8a2c4
@ -151,7 +151,7 @@ class Server
|
|||||||
$rawToken = trim(str_replace('Bearer', '', $headers['Authorization']));
|
$rawToken = trim(str_replace('Bearer', '', $headers['Authorization']));
|
||||||
|
|
||||||
if ( ! empty($rawToken)) {
|
if ( ! empty($rawToken)) {
|
||||||
$accessToken = base64_decode($rawToken);
|
$accessToken = $rawToken;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user