I ended up spending a little day making a ESP32-CAM project that presses the "MitID code viewer" button with a 9G servo, takes a image, uploads it to server, processes it and returns it to a secured progressive web app.


If anyone are interested in the project files/source code, let me know.
It requires:
3D printer
ESP32-CAM
SG90 servo
1A USB adapter
A cheap VPS
A domain
Some time to setup