Button app

I don’t really get why HomeAssistant has no authorization built in, but regardless of that feature I would like someone without access to the HomeAssistant app to control a single boolean variable in HomeAssistant. So, for example, it could just be a big virtual pressable button on a mobile phone app that is green when it is on and red when it is off.

Does something like that exist?