Skip to content

Commit e1908db

Browse files
committed
fixup! Forward auth token to MLM calls
- Change endpoint method to POST
1 parent 4a9c335 commit e1908db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp_server_uyuni/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ async def _call_uyuni_api(
134134
if perform_login:
135135
try:
136136
if token:
137-
login_response = await client.get(
137+
login_response = await client.post(
138138
UYUNI_SERVER + '/rhn/manager/api/oidcLogin',
139139
headers={"Authorization": f"Bearer {token}"})
140140
elif UYUNI_USER and UYUNI_PASS:

0 commit comments

Comments
 (0)