Sign in
Authentication
Sign in
Sign into FalkorDB Cloud and receive session cookies.
POST
Sign in
Signs the user in. Send the request with HTTP Basic authentication (
Both cookies are issued with the following attributes:
Other clients must store the cookies and send them back. With
Authorization: Basic <base64(user:password)>). The response sets two HttpOnly cookies that authorize every other endpoint.
Authorization
string
required
Basic authentication credentials:
Basic <base64(username:password)>.Response
Cookies
string
required
Session JWT. Send it on every subsequent request. Expires after 1 hour (
Max-Age=3600).string
required
Refresh token used to obtain a new session token. Expires after 24 hours (
Max-Age=86400).200 OK
Sending the cookie
Browsers attach the cookies automatically as long as the request includes credentials:curl, use a cookie jar:
Session lifetime
The session token is valid for 1 hour. After it expires, use the refresh token to obtain a new session, or sign in again. The refresh token is valid for 24 hours; once it expires, the user must sign in with their credentials.Errors
Error responses use the
application/vnd.goa.error content type: