I am deploying a streamlit app on AWS, but we’re having trouble with the authentication bit. This package helps set up a login page using Google Authentication:
(This package is built on top of: GitHub - frankie567/httpx-oauth: Async OAuth client using HTTPX)
To fit the authentication standard I have to use, I was able to alter the package to take OpenID instead of Google. The log in works perfectly, but I can’t seem to find a way for the Log Out button to require re-entering credentials once it is pressed. The package doesn’t appear to have a way to end a session, so I’m wondering if there’s something I need to use in streamlit. The package utilizes session_state so is there some way to close the session using session_state? Revoking the token doesn’t work, so I think I’m supposed to close the session rather than revoke the token.
I may be barking up the wrong tree, but I would appreciate some direction on whether I need to be looking at streamlit to do this or if I need to be looking into the package more.