Genuka Auth implémente un flux OAuth2-style où WhatsApp remplace l'OTP.
Votre backend appelle POST /api/connect/exchange avec le code reçu, et obtient un profil vérifié.
Un clic, un message WhatsApp, un profil vérifié dans votre backend. Zéro mot de passe. Zéro OTP. Intégration en moins de 10 minutes.
Comment ça marche
L'utilisateur n'a rien à taper. Vous, vous recevez un profil vérifié signé sur votre backend.
Pour les développeurs
Genuka Auth implémente un flux OAuth2-style où WhatsApp remplace l'OTP.
Votre backend appelle POST /api/connect/exchange avec le code reçu, et obtient un profil vérifié.
// Exchange the code for a verified profile
const res = await fetch('https://auth.genuka.com/api/connect/exchange', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
client_id: process.env.GENUKA_CLIENT_ID,
client_secret: process.env.GENUKA_CLIENT_SECRET,
code,
}),
});
const { data } = await res.json();
// Laravel — exchange & log in
$response = Http::post('https://auth.genuka.com/api/connect/exchange', [
'client_id' => config('services.genuka.client_id'),
'client_secret' => config('services.genuka.client_secret'),
'code' => $request->query('code'),
])->throw()->json();
Auth::login($user);
# One-shot exchange
curl -X POST https://auth.genuka.com/api/connect/exchange \
-H "Content-Type: application/json" \
-d '{"client_id":"pk_...","client_secret":"sk_...","code":"01HXYZ..."}'
Server-side only · never expose client_secret
Pourquoi WhatsApp
En Afrique francophone et bien au-delà, WhatsApp est déjà installé. Plus besoin d'OTP par SMS, plus de mot de passe oublié.
Créez votre compte, récupérez vos clés, échangez votre premier code. C'est tout.