-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default example at OIDC implementation giving some errors #1229
Comments
Do you have authentication configured? You need to have an @kajarenc @jrieke Since |
Hello @sfc-gh-dmatthews, I don't have a secrets.toml file, so I tried to use directly import streamlit as st
if st.button("Microsoft"):
st.login("microsoft")
if st.button("Okta"):
st.login("okta") And got this error:
|
The examples provide an example TOML file to use for A conceptual guide is available here: https://docs.streamlit.io/develop/concepts/connections/authentication Tutorials for some specific identity providers will be coming soon. A PR is started here: #1228 |
Hello @sfc-gh-dmatthews, My streamlit version is 1.41.1 and I removed and reinstalled to make sure it's the last version but still says |
You need version 1.42.0 which was just released this week. Can you import streamlit as st
st.write(st.__version__) |
Hello,
I reviewed the docs about OIDC implementation but it gives some errors, can you just write an example of implementation of OIDC?
I just copy-pasted this code and tried to run it with
streamlit run file.py
and got the error;Thanks!
The text was updated successfully, but these errors were encountered: