mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Fix JWT handling for API access when logging in
This commit is contained in:
17
config/jwt.php
Normal file
17
config/jwt.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| JWT Signing Key
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This key is used for the verification of JSON Web Tokens in flight and
|
||||
| should be different than the application encryption key. This key should
|
||||
| be kept private at all times.
|
||||
|
|
||||
*/
|
||||
'key' => env('APP_JWT_KEY'),
|
||||
|
||||
'signer' => \Lcobucci\JWT\Signer\Hmac\Sha256::class,
|
||||
];
|
||||
Reference in New Issue
Block a user