Sign-In User

Sign-In an existing user utilizing password authentication. This endpoint will return the user's JWT.

Next Steps

Verify the user's email to allow for password reset by updating the email via OTP, Enchanted Link, or Magic Link

Add tenants to the user via Update User Add Tenant

Add roles to the user via Update User Add Role

See Also

  • See The User Object for further details on how to identify users and their contact information such as email addresses and phone number.
  • Use the Sign-Up endpoint to sign-up a new end user.

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer <Project ID>

SecurityAuthProjectId
Request
Request Body schema: application/json
required
loginId
string
password
string
ssoAppId
string
object (onetimev1.LoginOptions)
Responses
200

OK

post/v1/auth/password/signin
Request samples
Response samples
application/json
{
  • "sessionJwt": "string",
  • "refreshJwt": "string",
  • "cookieDomain": "string",
  • "cookiePath": "string",
  • "cookieMaxAge": 0,
  • "cookieExpiration": 0,
  • "user": {
    },
  • "firstSeen": true,
  • "idpResponse": {
    }
}