Code login
post
Authenticate with an auth code. The returned session is tied to the session that created the auth code, and will be expired with any of the creator's sessions. This is a subset of an OAuth flow.
Body
auth_codestringOptional
Responses
200Success
application/json
post
POST /auth/code-login HTTP/1.1
Host: api.bringyour.com
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"auth_code": "text"
}
200Success
{
"by_jwt": "text",
"error": {
"message": "text"
}
}
Was this helpful?