Auth0 Home Blog Docs

Integration with an app is not as easy a it could have been



Trying to integrate Auth0 Javascript library, I find myself having to go through several tutorial, copy-pasting many code fragments into my app. Many tutorial states that the examples are “not production ready”, without too much information about what is missing.
Going over the first tutorial leaves you with copied-pasted authorization.js file that always sends the user to a login page every two hours, doesn’t handle token renewal or silent login. That’s barely enough for POC.
I imagine that the vast majority of applications have extremely similar login requirements. Therefore, I expected to have a much more structured integration. More of a plug and play approach than DIY tutorials.