Login

POST /auth/login/init

First call to make in order for the user to authenticate himself using

Headers

Name
Value

Content-Type

application/json

platform

android|ios|web

x-join-api-key

api_token

Body (Json)

Name
Type
Description

email

string

email of the user

Response

{
  "serverPublicKeyCredentialsGetOptions": {
    "timeout": number,
    "userVerification": string,
    "rpId": string,
    "challenge": string,
    "allowCredentials": [
      // list of WebAuthn credentials that the user can use to sign the login challenge
      {
        "type": "public-key",
        "id": string
      }
    ]
  },
  "challengeIdentifier": string
}

POST /auth/login

Finish login workflow

circle-exclamation

Headers

Name
Value

Content-Type

application/json

x-join-key

api_token

Body (Json)

triangle-exclamation

Response

Last updated