Auth
Generate JWT
Sign in externally and generate a JWT token to authenticate the user.
POST
/
auth
/
signin_external
Authorizations
Authorization
string
headerrequiredUse your Brewit API_KEY as the value of this header.
Body
application/json
external_id
string
requiredIdentifier of the user in your system.
ttl_seconds
number
requiredTime-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
requiredJWT token that you can use to authenticate the user.
expire
string
requiredExpiration time of the JWT token.
external_user_id
string
requiredIdentifier of the user in Brewit.
Was this page helpful?