nimblehq / ic-flutter-avishek

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Backend] As a user, I can log in using email and password

AVI5HEK opened this issue · comments

Why

To use the application, the user must log in with a username and password.

Acceptance Criteria

  • Call the endpoint api/v1/oauth/token with the following request body
{
    "grant_type": "password",
    "email": <email_address>,
    "password": <password>,
    "client_id": <client_id>,
    "client_secret": <client_secret>
}
  • Store retrieved data in the local storage for later use, e.g., session management.

Documentation

Note: Follow this document to get client_id and client_secret