flask-restx
flask-restx copied to clipboard
add password to protect the UI page
Ask a question A clear and concise question: the UI page is exposing to public and everyone can play with the endpoints, this is danger if we couldont add password to protect the UI page
Additional context Add any other context or screenshots about the feature request here.
Is there a reason you want to hide the UI page specifically?
If you are trying to protect from people from using your endpoints without permission, you would be far better using some basic authentication scheme such as flask-httpauth rather than simply hiding the docs.
You can then integrate that authentication into your flask-restx swagger docs (UI) following the steps here