Welcome Servies To Emole Services Developer Documention
You Can Learn How TO Create Services And ALso Create New Mobile App
| Method | When | Settings |
|---|---|---|
oauth | Any standard OAuth2 / OpenID Connect provider: Google, Apple, Microsoft, Nafath, a company system | Authorization URL, token URL, user-info URL (optional), Client ID and Secret, scopes, and the field names for ID, email and name |
partner | A sign-in page you host (private identity, phone sign-in, loyalty) | Your sign-in page URL |
partner methodstate and redirect_uri. After the shopper signs in, send them back to:redirect_uri?state=…&token=…payload = base64url(JSON { "sub": "a stable customer ID on your side", "email": "…", "name": "…", "state": "the same state", "exp": expiry_time })
token = payload + "." + hex( HMAC-SHA256(payload, app secret) )state and exp, then creates the customer's account or links it to their existing one. Next time they're signed straight in.

mfa.send and delivers it through your messaging provider:{ "hook": "mfa.send",
"data": { "channel": "sms", "to": "+9665…", "code": "272907", "expiresInMinutes": 10,
"customer": { "id": 1193492, "name": "…", "email": "…", "phone": "…" } } }{ "sent": true }Don't store the code or write it to your logs.
