Query parameters for Oauth #1037
kevinlinxc
started this conversation in
General
Replies: 1 comment 3 replies
-
|
I use Azure AD for authentication on my website. I use get_query_params() https://pynecone.io/docs/components/pages It returns a dict containing each query. There are some other functions available too: https://github.com/pynecone-io/pynecone/blob/592be487c9605e899718c8642affc7cfc845e3a7/pynecone/state.py |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes, your site has something like mysite.com/?param1=hi¶m2=bye
In Streamlit, I can get and set these parameters with these functions:
https://docs.streamlit.io/library/api-reference/utilities/st.experimental_get_query_params
https://docs.streamlit.io/library/api-reference/utilities/st.experimental_set_query_params
Is there a way to do this in Pynecone? This is a really important feature to have because oauth authentication flows usually redirect you back to your site with a code in the url.
Beta Was this translation helpful? Give feedback.
All reactions