The image never shows up (in firefox we got OpaqueResponseBlocking, but in chrome nothing is displayed in the logs)
And from what I see the google api is broken or have moved.
the 2.40 screen seem to have been reimplemented to use an internal api

but I guess it’s not backported ?
from my test on the nightly build on play.dhis2.org only 2.40 is fixed.
All versions below : 2.39 2.38 2.37 … are broken
1 Like
My current workaround
- click on “enable 2FA”
- open the browser console and paste the snippet
"https://mestachs.github.io/shary/?q="+decodeURIComponent((await (fetch("/api/37/2fa/qr").then(r=>r.json()))).url.split("&chl=")[1])
-
click on the string to open the link in your browser

-
open the authenticator app and scan the qr code
1 Like
about the google chart api

1 Like
it’s always a pleasure to speak alone on a forum
1 Like
Gassim
(AL-Gassim Sharaf Addin)
5
Sorry for not responding earlier, but salute the input that you have shared.
The issue was previously mentioned in another post (2 Factor Authentication Issue) and it has been reported to Jira: [DHIS2-17428] - Jira
Thanks again for sharing with the community! Apologies if you felt alone 
1 Like