Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/streamlit/app-with-auth0/app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import streamlit as st
from streamlit.web.server.websocket_headers import _get_websocket_headers

headers = _get_websocket_headers()
headers = st.context.headers


header_name = headers.get("X-Auth-Name")
Expand Down
13 changes: 13 additions & 0 deletions examples/streamlit/app-with-auth0/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Authentication

Our seamless integration with Auth0 enables you to add robust authentication to any Streamlit app effortlessly. There's no need to modify your existing Streamlit app code!

## User Information Retrieval

If you need to access user information returned by Auth0, this repository provides a practical example demonstrating how to do so.

## Learn More

For more information about authentication in Ploomber Cloud, including setup instructions, please refer to our official documentation:

[Ploomber Cloud - Streamlit Authentication Documentation](https://docs.cloud.ploomber.io/en/latest/apps/streamlit.html#authentication)
Loading