Skip to content

Auth Service

Matthew Pfister edited this page Apr 17, 2020 · 7 revisions

[Login] /auth/login

Authenticate a user with our services

Request

{
  userName: string;
  password: string;
}

Response Headers

set-cookie: string;
x-id-token: string;
x-access-token: string;

Response Body

{
  status: number;
  data: {
    user: {
      id: string;
      userName: string;
      email: string;
      firstName: string;
      lastName: string;
      displayName: string;
      accountType: USER | ADMIN;
      isFirstTimeLogin: boolean;     
    }
  }
}

Clone this wiki locally