I have deployed a Streamlit application on Cloud Run and configured it as an authenticated service. I have also set up Identity-Aware Proxy (IAP) for this Cloud Run service, where Okta is configured as the identity provider.
Currently, users need to log in twice: once via IAP (Okta login) and then again through the application-level login. This creates a poor user experience, as the second login is redundant for authenticated IAP users.
If a user has already been authenticated via IAP (Okta login), I want to bypass the application-level login and directly allow access to the Streamlit app.
My question:
Any guidance or suggestions would be greatly appreciated!
Solved! Go to Solution.
Hi,
If all of your users are going to (MUST) go via IAP, why not then deploy your cloud run service as a public instead of private?
Hi,
If all of your users are going to (MUST) go via IAP, why not then deploy your cloud run service as a public instead of private?
What if I don't want all users but only some of the organization's users to access the application? @NoCommandLine
You can still use IAP.
This documentation talks about authenticating end users versus internal users. It says to use IAP for internal users.
Here is documentation for enabling IAP for Cloud Run.