issues
search
include-davis
/
Include-CMS
In-house CMS system for future clients to use and deploy for free
MIT License
1
stars
1
forks
source link
Authentication: createAuthToken
#27
Open
Austin2Shih
opened
6 months ago
Austin2Shih
commented
6 months ago
[ ] async createAuthToken(data)
do this in _datalib/auth
create and return signed JWT token using the data and the configured expiration time
For now just assume that expiration time is in the .env file set to 24 hours.