Closed Glamdring closed 4 years ago
Setup user authentication using spring security and JWT. Use scrypt for storing passwords.
The JWT should contain the following claims: userId, sha512(user.getEmail() + user.isTwoFactorAuthEnabled() +user.getPassword())
The JWT Signature key should be stored in the properties file for now
JWT should be obtained in two ways:
Setup user authentication using spring security and JWT. Use scrypt for storing passwords.
The JWT should contain the following claims: userId, sha512(user.getEmail() + user.isTwoFactorAuthEnabled() +user.getPassword())
The JWT Signature key should be stored in the properties file for now
JWT should be obtained in two ways: