dnplus / streamlit-oauth

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

Typo in extra-params of Google example #23

Closed HobbyProjects closed 5 months ago

HobbyProjects commented 5 months ago

result = oauth2.authorize_button( name="Continue with Google", icon="https://www.google.com.tw/favicon.ico", redirect_uri="http://localhost:8501", scope="openid email profile", key="google", extras_params={"prompt": "consent", "access_type": "offline"}, use_container_width=True, pkce='S256',

should be extra_params

dnplus commented 5 months ago

This approach was inherited from the httpx-oauth package, and we do not plan to alter it due to considerations for backward compatibility.