Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonic example for User-info API #102

Open
kla240 opened this issue Apr 16, 2022 · 1 comment
Open

pythonic example for User-info API #102

kla240 opened this issue Apr 16, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@kla240
Copy link

kla240 commented Apr 16, 2022

Hi Ideonate team,
This is a great product! I'm really enjoying it... but to make it even easier for streamlit users who don't want to be web-developers, could you please add a complete (python) example of how to use the user info api described at https://cdsdashboards.readthedocs.io/en/stable/chapters/userguide/userinfoapi.html

with streamlit, cdsdashboard, tornado, and a reverse-proxy on K8s, I'm really struggling to actually get the client user info... and I don't see how to embed the JS code in python as the example is for Voila with ipywidgets.

Many thanks!

@kla240 kla240 added the enhancement New feature or request label Apr 16, 2022
@kla240
Copy link
Author

kla240 commented Apr 18, 2022

I want to update that there is a bug here because the server-side is using hubauth instead of hubOAuth, and so the request is using the app api token instead of browser cookie info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants