-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
When requesting a Guest Token API, error code 422 is reported Subject must be string #32241
Comments
Hey @temuujinmo4! 👋 I'm here to help you with bugs, questions, and becoming a contributor. Let's squash those bugs together! I found a similar open issue regarding the error "Subject must be string" when requesting a Guest Token API. The solution is to ensure that the 'sub' claim in your JWT token is a string. Specifically, change the 'sub' value from an integer to a string. For example, use To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other | Bug Report |
I dont understand. How i DO ? |
Where is sub ? |
There's a PR I've pushed and linked to fix your issue. You can add the config in your |
CRSF url not found /api/security/csrf_token GET request |
Superset_app container dotorh PyJwt package-iinhaa version-iig 2.9.0 blgooroi... |
Bug description
Subject must be string
i sent string
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.10
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: