Basic Authentication
Username with Password - Basic Authentication
The Username with Password authentication allows your client to authenticate using username and password method. The endpoints are pre-built and are easy to manage your authentication flow and users. To get your {auth_base_url}
, check it out here - Get started with base url.
Note : APP-KEY to be passed in Headers can be obtained from the settings in the project dashboard
1. Signup API
This endpoints allows you to create a new user using the username and password method.
POST
{auth_base_url}/username-password-signup
Example
Request
Response
2. Login API
This endpoints allows you to login a user using the username and password method.
Example
Request
Response
Username
- The username must be between 4 and 20 characters long.
- The username can only contain alphanumeric characters (letters and digits) and underscores.
- The username cannot contain any spaces.
- The username must begin with a letter (a-z or A-Z).
Examples
Was this page helpful?