diff --git a/src/Auth0/Login/Auth0Service.php b/src/Auth0/Login/Auth0Service.php index 39496559..32f061f8 100644 --- a/src/Auth0/Login/Auth0Service.php +++ b/src/Auth0/Login/Auth0Service.php @@ -130,6 +130,7 @@ public function decodeJWT($encUser) } $verifier = new JWTVerifier([ + 'suported_algs' => ['HS256', 'RS256'], 'valid_audiences' => [config('laravel-auth0.client_id'), config('laravel-auth0.api_identifier')], 'client_secret' => config('laravel-auth0.client_secret'), 'authorized_iss' => config('laravel-auth0.authorized_issuers'),