feat : ajout de l'authentification avec lexik
This commit is contained in:
7
.env
7
.env
@@ -39,3 +39,10 @@ DEFAULT_URI=http://localhost
|
||||
###> nelmio/cors-bundle ###
|
||||
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
|
||||
###< nelmio/cors-bundle ###
|
||||
|
||||
###> lexik/jwt-authentication-bundle ###
|
||||
JWT_SECRET_KEY=
|
||||
JWT_PUBLIC_KEY=
|
||||
JWT_PASSPHRASE=
|
||||
COOKIE_SECURE=1
|
||||
###< lexik/jwt-authentication-bundle ###
|
||||
|
||||
Reference in New Issue
Block a user