Skip to main content

Generate QR Login Session

Overview

This endpoint demonstrates how to reference OpenAPI operations directly in MDX frontmatter. The API playground, parameters, and responses are automatically generated from the OpenAPI specification.

Use Cases

Desktop Authentication

Generate QR codes for users to scan with mobile apps

Cross-device Login

Enable secure authentication between desktop and mobile

Security Considerations

QR sessions expire after 5 minutes for enhanced security. Always implement proper session management and real-time status monitoring.

Real-time Integration

This endpoint works in conjunction with Laravel Reverb WebSocket communication for real-time status updates. Subscribe to the qr-login.{sessionId} channel to receive authentication events.