User Wallet - Social Login
This API endpoint enables the user to log in with the given social login of the choice: Google, Twitter, Apple, GitHub, and so on. It will create a Komet wallet account if the user doesn’t have an account or log in once he finishes logging in with a social account of his choice.
Request :
Method:
GETEndpoint: https://sdk.komet.me/{social-login}/auth
// Open in Webview (Mobile Native) or the browser and get redirected back with a response.
Body:
{
client-key: "KOMET_CLIENT_KEY",
client-secret: "KOMET_CLIENT_SECRET",
}
Response:
{
komet_bearer_token: String,
user: user_profile_details,
wallet: wallet_details,
local_share: String, //for the app to back up locally on the device
social_token_id: String,
}Last updated
Was this helpful?