-
Notifications
You must be signed in to change notification settings - Fork 614
[BUG]: API Call - /auth/email/me - 422 Error is shown #2700
Copy link
Copy link
Labels
MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeP1: Non-negotiable, critical requirements without which the product is non-functional or unsafebugSomething isn't workingSomething isn't working
Milestone
Description
🐞 Bug Summary
422 error when trying to see the active user when using a generated API token.
🧩 Affected Component
Select the area of the project impacted:
-
mcpgateway- API -
mcpgateway- UI (admin panel) -
mcpgateway.wrapper- stdio wrapper - Federation or Transports
- CLI, Makefiles, or shell scripts
- Container setup (Docker/Podman/Compose)
- Other (explain below)
🔁 Steps to Reproduce
- Go to Swagger
- Send a GET to http://localhost:8080/auth/email/me
- Check result
🤔 Results:
422 error
{
"message": "Validation failed: Invalid password_change_required",
"details": [
{
"field": "auth_provider",
"message": "Invalid auth_provider"
},
{
"field": "password_change_required",
"message": "Invalid password_change_required"
}
],
"success": false
}
🤔 Expected Behavior
The endpoint should show the active user.
📓 Logs / Error Output
Paste any relevant stack traces or logs here.
🧠 Environment Info
You can retrieve most of this from the /version endpoint.
| Key | Value |
|---|---|
| Version or commit | v0.128.0 |
| Runtime | Python 3.12.3 |
| Platform / OS | Linux 6.6.87.2-microsoft-standard-WSL2 (x86_64) |
| Container | none |
🧩 Additional Context (optional)
Related with #2390
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeP1: Non-negotiable, critical requirements without which the product is non-functional or unsafebugSomething isn't workingSomething isn't working