streamlit-google-oauth icon indicating copy to clipboard operation
streamlit-google-oauth copied to clipboard

Doesn't work when deployed

Open tom-doerr opened this issue 2 years ago • 2 comments

It works for me on localhost, but not when deployed even though I added the redirect URIs. "Access blocked: This app’s request is invalid".

tom-doerr avatar Jan 21 '23 01:01 tom-doerr

#3 It only works if it's a standalone app.

hunkim avatar Mar 08 '23 17:03 hunkim

It's true that it doesn't work when deployed to Streamlit Community Cloud. Behind the scene, it embedded the app into the iframe, and hence failed Google Login. Error message:

Refused to display 'https://accounts.google.com/' in a frame because it set 'X-Frame-Options' to 'deny'.

Is there any workaround idea? Thanks

il-dat avatar Apr 07 '23 04:04 il-dat