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:
co-authored by
Christy Jacob
parent
0c09d73a20
commit
3397036224
@@ -198,7 +198,7 @@ class Auth0 extends OAuth2
|
||||
protected function getAppSecret(): array
|
||||
{
|
||||
try {
|
||||
$secret = \json_decode($this->appSecret, true);
|
||||
$secret = \json_decode($this->appSecret, true, 512, JSON_THROW_ON_ERROR);
|
||||
} catch (\Throwable $th) {
|
||||
throw new \Exception('Invalid secret');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user