This provides sample app for authenticating Azure Functions endpoints by OAuth through the integrated Swagger UI.
Why do you think that https://github.com/Azure/azure-functions-openapi-extension is a good alternative to azure-functions-oauth-authentications-via-swagger-ui