I found this, while trying to figuring out how to allow "Allow unauthenticated invocations" at: https://stackoverflow.com/a/78545216/5503408
And it works fine if we want to disable the authentication.