-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Frodo Library version
Provide output of getVersion or us the CLI to get the version frodo -v
stoyan.petrov@mac-N447G0G7 forgeops-sdks-utils % frodo -v
You are running the homebrew release.
cli: v2.0.6-2
lib: v2.1.2-0
node: v20.11.1
Describe the issue
Trying to add/save a new connection to a standalone local AM instance fails, when AM version info is incomplete.
@atomicsamurai found that frodo fails to parse the version returned from this call:
stoyan.petrov@mac-N447G0G7 forgeops-sdks-utils % curl -X GET -H "Accept:application/json, text/plain, */*" -H "Content-Type:application/json" -H "User-Agent:@rockcarver/frodo-lib/2.1.2-0" -H "Accept-API-Version:resource=1.0" -H "Cookie:iPlanetDirectoryPro=<***COOKIE***>" "https://localam.petrov.ca/openam/json/serverinfo/version"
{"_id":"version","_rev":"150280414","version":"ForgeRock Access Management","fullVersion":"ForgeRock Access Management","revision":"DEV","date":"DEV"}%
This causes the frodo conn add command to fail - e.g:
stoyan.petrov@mac-N447G0G7 forgeops-sdks-utils % frodo conn add https://localam.petrov.ca/openam amadmin password
Error getting tokens
Cannot read properties of null (reading '0')
More details here: https://pingidentity.slack.com/archives/C03CL5A79NE/p1727193772869339
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working