You can literally just right click and press 'open'. Might not be obvious to the layman, but you don't need to do a whole code signing bypass song and dance.
Big Sur has made this intentionally more tedious [1]. You apparently have to right click, click open, close the dialogue and then open it again in order to actually get the option to approve the application.
I can't edit my comment so I'll just put this here: what is up with HN heavily downvoting factual, useful information? It seems something from the past 1-1.5y or so and it infuriates me to no end.