issues
search
vaizard
/
glued-skeleton-modular
Web application skeleton that uses the Slim4 Framework, PHP-DI, Nyholm PSR7 and Twig.
MIT License
1
stars
4
forks
source link
Finalize jwt integration
#122
Closed
killua-eu
closed
3 years ago
killua-eu
commented
4 years ago
[x] rework auth->check()
[x] rename auth->response() - it just fetches user data from db
[x] look at view->getEnvironment()->addGlobal('session') and 'auth' usage in twig views
[x] review other environmental globals
[x] add a /api/core/jwt_refresh route which will refresh bearer and cookie
[x] autorefresh cookie in authorizationmilldlwware.
[x] kill $_SESSION['core_user_id'] usage (replace with auth->ses_check and jwt_check)