Auth0 Home Blog Docs

Flask example - excessive certificate fetching?


#1

The example on this page: https://auth0.com/docs/quickstart/backend/python has a request to the well-known endpoint every time one of the wrapped function is invoked (unless I’m mistaken, which is always possible). This feels like a serious overhead. Is there a circumstance in which the response is going to change? If so, how would one know that a re-fetch is necessary?