Skip to content

Latest commit

 

History

History
 
 

login

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Login

Request

POST /login

Parameters

Param Description
login_type "github"
token The token we receive from Github. No fancy salting/hashing required. HTTPS will take care of security

Response

Headers

Set-Cookie: 
    auth-token=<token-value>;
    Domain=realdevsquad.com;
    Same-Site=Strict;
    Max-Age=86400;
    HttpOnly;
    Secure;

Status Codes

200 OK

Body

{
    "msg": "Success"
}
Status Code Message
200 Success
400 Please make sure request was correct
403 Not Allowed