Simple static site auth

I am generating a very simple documentation site with mkdocs and just want to add auth0 so I can host it on Heroku. I can get express-static to work fine but I can’t find any examples to add auth to it. I have been working with the SPA example but can’t seem to get it to work.

Can anyone point me to a simple static site example. I feel like this should be only 10 lines of code but can’t find it yet.

Thanks
Kyle

Hi @kbowerma,

Welcome to the Community!

I know we have blog posts for integrating auth0 into a SSG like gatsby, would that help?

https://auth0.com/blog/securing-gatsby-with-auth0/#How-to-Create-a-Protected-Account-Route

Let me know,
Dan

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.