auth v2

Sign in with email and password.

Changed on

Sign in with email and password

post/sign-in/email

Request

  • Base URL: https://api.openfort.io/iam/v2/auth
  • URL: https://api.openfort.io/iam/v2/auth/sign-in/email
  • Auth: HTTP bearer and API key in header x-project-key

Request body

emailstring required

Email of the user

passwordstring required

Password of the user

callbackURLstring nullable

Callback URL to use as a redirect for email verification

rememberMeboolean nullable

Response

Success - Returns either session details or redirect URL

redirectfalse required
tokenstring required

Session token

urlstring nullable

Changes

    • info

      the endpoint scheme security auth_token AND projectKey was added to the API

    • info

      the endpoint scheme security bearerAuth was removed from the API

    • info

      added the optional property / to the response with the status