issues
search
Easy-CAS
/
Authentication
The general authentication service for EasyCAS
MIT License
0
stars
0
forks
source link
Identify as user
#3
Open
RedNeath
opened
2 months ago
RedNeath
commented
2 months ago
Create a route to identify one user.
Input:
an email address (=> identifier field)
a password
Output:
a JWT authentication token in case of a success
Data
Description
Result
No data
Can't identify one user from nothing
Fail
One field missing or incorrect
Email values will be checked for correctness at first, using the same filter as when an account is created or edited
Fail
Both fields correct
The user will be handed a JWT authentication token
Success
Both fields correct and extra fields
The user will be handed a JWT authentication token
Success
Create a route to identify one user.
Input:
Output: