dnplus / streamlit-oauth

Simple OAuth Component for Streamlit App
MIT License
111 stars 18 forks source link

Authorization returns None as result #3

Closed harithzulfaizal closed 8 months ago

harithzulfaizal commented 1 year ago

Hi, I tested this out but after logging in through Google and Discord it redirects me to another authorize button in the popup that does nothing where the output results are None. Would appreciate any help, thanks! (Also posted on the Streamlit forum)

image

dnplus commented 1 year ago

Probably a CORS issue, can you share console/network information in browser developer console

harithzulfaizal commented 1 year ago

image

Ah could be, the first 2 warnings pop out when clicking the button and the other/last 2 warnings after signing in. Am I correct in thinking that the code available in the url after signing in is the authorization code?