mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update src/Appwrite/Auth/OAuth2/Auth0.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
@@ -159,7 +159,7 @@ class Auth0 extends OAuth2
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected function getUser(string $accessToken)
|
||||
protected function getUser(string $accessToken): array
|
||||
{
|
||||
if (empty($this->user)) {
|
||||
$headers = ['Authorization: Bearer '. \urlencode($accessToken)];
|
||||
|
||||
Reference in New Issue
Block a user