Closed chaen closed 5 months ago
Hi,
everything seems correct to me except the endpoint. Is it https://lhcb-auth.web.cern.ch/iam/account/search
(not http), right?
Stupid me ! I blindly copied/paste what's in the doc, which relies on http://localhost :man_facepalming:
Also, the jq
command is not correct, it needs to be export AT=$(cat /tmp/token.json | jq -r ".access_token")
That was a proper PEBCAK ticket :-D Thanks
Hi,
I wanted to use the
account/search
API to list the users in IAM.For that, I created a new client, gave it the
iam:admin.read
scope, and enabled theclient_credentials
flow.I can successfully get a token:
But calling the API results in an error
Any pointer to what I should do ? Thanks