-
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Hi, thanks for creating this awesome tool. One thing I realized while using at the OAuth2Component method is that I cannot pass input arguments with specified labels. Here is what I mean:
Your example:
o2c = OAuth2Component(CLIENT_ID,
CLIENT_SECRET,
AUTHORIZE_URL,
TOKEN_URL,
REFRESH_TOKEN_URL,
REVOKE_TOKEN_URL)
Here, ideally a user should also be able to enter the input arguments in whatever order they wish to using input labels. This is what I mean:
o2c = OAuth2Component(client_id = CLIENT_ID,
client_secret = CLIENT_SECRET,
authorize_url = AUTHORIZE_URL,
token_url = TOKEN_URL,
refresh_token_url = REFRESH_TOKEN_URL,
revoke_token_url = REVOKE_TOKEN_URL)
This will also make writing wrappers around the OAuth2Component method more easy and definitely helps when using Pages in streamlit. Could you add this functionality? Let me know if I have missed something! Cheers!
Metadata
Metadata
Assignees
Labels
No labels