developers
JWT & QR Auth5 min read

Authentifizierung, Mobile-JWT-Refresh & QR-Scan-Login

Web-Authentifizierung über NextAuth-Cookies sowie native Clients via Bearer-JWT (`/api/mobile/login`, `/api/mobile/refresh`) und QR-Login.

Key Capabilities & Takeaways

  • Automatische 401-Refresh-Queue verhindert parallele Token-Refresh-Stürme auf Mobilgeräten.

Mobile- & Desktop-Bearer-JWT-Ablauf

Native Clients melden sich an `POST /api/mobile/login` an, senden `Authorization: Bearer <access_token>` und erneuern über `POST /api/mobile/refresh`.

const res = await fetch('https://app.inzorasuite.com/api/mobile/login', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ email, password }),
});
const { access_token, refresh_token } = await res.json();
API Sandbox

Execute allowlisted public IBS endpoints live · Zero credentials required

Was this handbook guide helpful?
Initiative Tech Solutions Ltd · Kigali, Rwanda

Ready to run your operations on Inzora Business Suite?

Start your 7-day free trial, explore live businesses on our directory, or contact our team at [email protected] (+250 791 891 254).