Login
Last updated
Was this helpful?
Last updated
Was this helpful?
If you try to authenticate a user by email, but the email was previously registered through Facebook, Google or Apple, MBurger will throw out an error as the user is already registered with "email" mode.
To know more about the social token please refer to , or
POST https://mburger.cloud/api/login
Name
Type
Required
Description
string
No
password
string
No
Password
mode
string
Yes
Auth mode : email, facebook, google, apple
facebook_token
string
No
Facebook token obtained from Facebook SDK, required if mode = facebook.
google_token
string
No
Google token, obtained from Google SDK, required if mode = google.
apple_token
string
No
Apple token, obtained from Apple SDK, required if mode = apple.