Skip to main content
POST
/
api
/
v1
/
auth
/
social
/
authorize
cURL
curl -sS -X POST "$FLUIDE_BASE_URL/api/v1/auth/social/authorize" \
  -H "Content-Type: application/json" \
  -d '{}'
{}

Body

application/json
provider
enum<string>
required
Available options:
google,
apple,
microsoft
fluideClientId
enum<string>
required
Available options:
fluide-admin,
fluide-capital-admin,
fluide-super,
fluide-developer
callbackURL
string
required

Where the SPA wants the browser to land after a successful exchange (it gets ?token=…).

Example:

"https://app.fluide.app/post-auth"

errorCallbackURL
string
Example:

"https://app.fluide.app/sign-in?error=oauth"

Response

The response is of type object.