Skip to content

feat(settings): render qr code in mfa setup flow#442

Merged
AndreLiar merged 2 commits into
mainfrom
dev
Jun 15, 2026
Merged

feat(settings): render qr code in mfa setup flow#442
AndreLiar merged 2 commits into
mainfrom
dev

Conversation

@AndreLiar

Copy link
Copy Markdown
Owner

Merges #441 — remplace l'URL otpauth brute par un vrai QR code scannable dans le formulaire d'activation MFA. L'utilisateur ouvre Microsoft Authenticator, scanne, entre le code à 6 chiffres, c'est tout.

)

the embedding phase (multi-query expansion via cpu-only ollama) can take
several minutes. nginx's proxy_read_timeout (60s default) was killing the
idle sse connection before any event was flushed, leaving the ui stuck on
"retrieving context…" forever.

send a sse comment (: keepalive) every 20s to keep the connection alive
through the entire pipeline duration.
the setup form was showing the raw otpauth:// url as plain text.
users had to manually copy a long secret into their authenticator app.
now shows a scannable qr code image (qrcode.react) + keeps the secret
as a manual-entry fallback below.

also clarifies the step 1 label to mention microsoft authenticator / google
authenticator explicitly.
@codecov-commenter

codecov-commenter commented Jun 15, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
backend/controllers/ragController.js 0.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@AndreLiar AndreLiar merged commit 8a18396 into main Jun 15, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants