palbaseDocs

Palbase Auth API · API

GET/auth/me

Read the signed-in user's profile

Returns the signed-in user's profile: whether the email is verified, whether a second factor and a password exist, which social providers are linked, and the preferred language. A client reads has_password and providers to decide how to ask the user to re-authenticate.

Called by a signed-in user of your app, with their token and the publishable key.

curl
curl -X GET "https://<your-ref>.palbase.studio/auth/me" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN"

Responses

200The profile

400Validation failed or required field missing

401Missing, invalid, or expired credentials

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation GetMe of auth's contract.