-
Notifications
You must be signed in to change notification settings - Fork 4
Database Schema
##desc
This page enables the user to login to the Gator MeetUp Page
This is a POST method which tests for user name and password and redirects to the gator meetup page upon login
/users/login
GET
| Key | Description | Type | Required |
|---|---|---|---|
| Email Id of user | String | Yes | |
| password | User's password | String | Yes |
Status codes: 200,400,501
Example:
code: 200 OK
##table
Table Name: users
| Key | Description | Type | Required |
|---|
| email | Email ID of the user | String | Yes |
| password | Encrypted password | String | Yes |
- Input
User Email AddressandPasswordminimum of 6 length. - Click on Login Button
#packages
In order to transport the password securely from the forms to backend Jsonwebtoken for auth token is being used
JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA.
More information can be obtained from [link]https://jwt.io/introduction/