rockcarver / frodo-cli

A CLI to manage ForgeRock platform deployments supporting Identity Cloud tenants, ForgeOps deployments, and classic deployments.
MIT License
17 stars 14 forks source link

`frodo conn add` fails for AM 5.5.x #334

Closed atomicsamurai closed 4 weeks ago

atomicsamurai commented 7 months ago

Frodo CLI version

You are running the binary release. Installed versions: cli: v2.0.0-36 lib: v2.0.0-53 node: v18.5.0

Describe the issue

frodo conn add fails for AM 5.5.x. The same works when using frodo-cli v2.0.0-25 The error is:

curl -X GET -H "User-Agent:@rockcarver/frodo-lib/2.0.0-53" -H "X-ForgeRock-TransactionId:frodo-84da4415-fbcd-484b-a426-f6e58191ff6d" -H "Content-Type:application/json" -H "Accept-API-Version:resource=1.1" "http://am.example.com:8080/openam/json/serverinfo/*"
200
curl -X POST -H "Content-Type:application/json" -H "User-Agent:@rockcarver/frodo-lib/2.0.0-53" -H "X-ForgeRock-TransactionId:frodo-84da4415-fbcd-484b-a426-f6e58191ff6d" -H "Accept-API-Version:resource=2.0, protocol=1.0" -H "X-OpenAM-Username:amadmin" -H "X-OpenAM-Password:<suppressed>" --data '{}' "http://am.example.com:8080/openam/json/realms/root/authenticate"
200
curl -X POST -H "Content-Type:application/json" -H "User-Agent:@rockcarver/frodo-lib/2.0.0-53" -H "X-ForgeRock-TransactionId:frodo-84da4415-fbcd-484b-a426-f6e58191ff6d" -H "Accept-API-Version:resource=4.0" --data '{"tokenId":"qyuTFYwIUlG6cPKc6MaYGJw7tvg.*AAJTSQACMDEAAlNLABwybE9PMEZ1SytFbWlPTXNyWkZBSjVRaW9Zemc9AAJTMQAA*"}' "http://am.example.com:8080/openam/json/realms/root/sessions/?_action=getSessionInfo"
404 Not Found - Resource '' not found
Request failed with status code 404
Resource '' not found
vscheuber commented 4 weeks ago

@atomicsamurai didn't we fix this? Please re-open if still an issue.