Streamlit User and API Authentication with Auth0 Next.js SDK

In this article, I will show you how to build a Streamlit Component to authenticate users in Streamlit applications and external APIs with Auth0.
Read more…

:writing_hand:t2: Brought to you by Arvindra Sehmi

Hey folks! Let us know if you have any questions in the comments below!

Hello, thanks for the article. I have a question or rather a feature request → would you @asehmi consider a cooperation with Streamlit team and make a proper integration, so that Auth0 becomes a native Streamlit experience?

@a.jelinek Are you a Streamlit employee? Their dev team is well aware of this solution and hasn’t expressed an interest in it being part of their Cloud platform, which already supports OAuth.

Thank you for putting so much effort into creating these materials! I have gone step by step through article 1 and 2. While in the first case with the password generator I had no problems and it worked flawlessly, in the case of the auth0 integration I encounter a huge problem loading the component.
Your app is having trouble loading the modules.component_auth0 component. The app is attempting to load the component from http://localhost:3001/streamlit, and hasn't received its Streamlit.setComponentReady() message.
I have checked everything many times, it seems that somehow with this implementation streamlit has a problem with the component. Do you perhaps have any tips? Thanks in advance.