That’s where it gets complicated!
With this feature in Gladys it would be simpler ^^
But basically on my tablets I have Fully Kiosk Browser.
With the API, I refresh the tablet display (Gladys if alarm is off, otherwise the Node-RED dashboard with the keypad).
On the Node-RED side, if the codes entered match the user’s code (a simple JSON in the Node-RED container with per-user config), we deactivate the alarm via MQTT and then my scene re-displays Gladys on the tablet and turns off the sirens.

