You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem I am more interested in is the Authorization header is not sent in the subsequent requests (after you refresh the page once) when you have authorized the app via Authorize button in swagger.
There is another problem in the User model here (for authorized requests obv) isn't correct for the response type. This can be fixed by simply setting default values for some of the required fields.
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Bug description
The FastAPI service example doesn't works as expected. After you authorize the service by OAuth2 using the Authorize button in swagger, http://127.0.0.1:8000/services/fastapi/docs the endpoints works, but when you refresh the page the endpoint doesn't works.
The problem I am more interested in is the Authorization header is not sent in the subsequent requests (after you refresh the page once) when you have authorized the app via Authorize button in swagger.
There is another problem in the User model here (for authorized requests obv) isn't correct for the response type. This can be fixed by simply setting default values for some of the required fields.
I have attached a video walkthrough:
jupyterhub-fastapi.mp4
How to reproduce
Expected behaviour
I would expect the subsequent requests to be authorized and return the valid response instead of 400.
Actual behaviour
Your personal set up
4.0.2
Full environment
Configuration
Same as mentioned in the example here.
Logs
The text was updated successfully, but these errors were encountered: