Created the JWT authentication for the editor so that it's more secure and can potentially be used to create a desktop app in the future. Used Tuupola's JWT auth middleware implementation to help with the auth part. Used Firebase's JWT method to create the token

Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
2022-10-09 02:40:06 +01:00
parent c22e7f41b1
commit 98c026b946
13 changed files with 728 additions and 64 deletions
+3 -1
View File
@@ -11,6 +11,8 @@
"laminas/laminas-httphandlerrunner": "^2.0",
"selective/samesite-cookie": "^0.3.0",
"ext-json": "*",
"slim/slim": "^4.10"
"slim/slim": "^4.10",
"rbdwllr/psr-jwt": "^2.0",
"tuupola/slim-jwt-auth": "^3.6"
}
}