POST
/
auth
/
signin_external

Authorizations

Authorization
string
headerrequired

Use your Brewit API_KEY as the value of this header.

Body

application/json
external_id
string
required

Identifier of the user in your system.

ttl_seconds
number
required

Time-to-live of the JWT token in seconds.

display_name
string

Display name of the user.

email
string

Email of the user.

picture
string

URL of the user's picture.

Response

200 - application/json
token
string
required

JWT token that you can use to authenticate the user.

expire
string
required

Expiration time of the JWT token.

external_user_id
string
required

Identifier of the user in Brewit.