docs
docs copied to clipboard
JWK should be cached in Rails QuickStart
In the Rails QuickStart, JWK is fetched for each secured request. It hurts performances & we could hit auth0 rate limit.
What do you think about leaving a note or modifying the code available in the QuickStart? It seems other developers have the same issue too:
- https://stackoverflow.com/questions/46791707/cache-auth0-public-key
- https://dev.to/dschlauderaff/creating-an-ember-spa-with-auth0-authentication-with-a-rails-api-4pp0
I think same thing. I would like you to add that I think that mass producing a program that makes a large number of requests is only disadvantageous for both parties.
+1 on this. This seems like a pretty simple issue to fix in the docs.