hunkim / streamlit-google-oauth

An example Streamlit application that incorporates Google OAuth 2.0
52 stars 40 forks source link

Improve Login page #3

Closed fsmosca closed 1 year ago

fsmosca commented 1 year ago

New login page.

image

hunkim commented 1 year ago

@fsmosca it looks good. Is there any reason that you closed this PR?

fsmosca commented 1 year ago

If deployed in the cloud like streamlit cloud, google auth will not work. I cannot solve it at the moment.

hunkim commented 1 year ago

I guess streamlit cloud blocks it. Can you find a workaround?

mukundagujjar commented 1 year ago

When deployed on Cloud, the "x-frame-options" header is set to deny. I searched a bit and found out that it is set that way for security reasons (to prevent clickjacking). image

On my local machine, the header allows from account.google.com. image

I guess this is the only primary issue that needs to be navigated around.