Hi! I have your component sort of working right now but the connected session is always set to False. I set up a local domain (mylocaldomain.com) and set that to my local website - 10.1.10.25:8501. I can click the Google login button, go through the authentication, and then I am returned to my site via the Hosts file. That said, the connected session state is still False.
I really appreciate all of the work you have done and I hate to bug you but do you have any ideas why this is failing?
authenticator = Authenticate(
secret_credentials_path=‘./credentials.json’,
cookie_name=‘My-Local-Cookie’,
cookie_key=‘aDdfnds99DJdjs’,
redirect_uri=http://mylocaldomain.com:8501,
)
authenticator.login()
if “connected” in st.session_state and not st.session_state[‘connected’]:
logging.debug(f"Connected is: {st.session_state[‘connected’]}")