mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Update src/Appwrite/Auth/OAuth2/Auth0.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
parent
0c09d73a20
commit
3397036224
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue