-
Notifications
You must be signed in to change notification settings - Fork 240
Labels
bugSomething isn't workingSomething isn't workingtriageIssues / Features awaiting triageIssues / Features awaiting triage
Milestone
Description
🐞 Bug Summary
When calling get_gateway API, appropriate token, username, password as expected to be set in the response. But, they are not set since _populate_auth was not being called.
🧩 Affected Component
Select the area of the project impacted:
-
mcpgateway
- API
🔁 Steps to Reproduce
- Add gateway with auth
- Click edit gateway
- Check response from GET /gateways/<gateway_id> - auth_value is filled, but appropriate auth_token or auth_username or auth_password not set.
🤔 Expected Behavior
- auth_token should be set if auth is bearer
- auth_username and auth_password should be set if auth is basic
- auth_header_key and auth_header_value should be set if auth is custom headers
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageIssues / Features awaiting triageIssues / Features awaiting triage