AnsweredAssumed Answered

How to use generateToken endpoint properly?

Question asked by AgencyDev on Mar 7, 2019
Latest reply on Mar 7, 2019 by AgencyDev


I'm trying to generate token for my client.

My /rest/info edpoint returns me json like:


If I try to use tokenServicesUrl as an endpoint for generating token then I get error "Invalid username or password" even when my username and password are correct.

curl -X POST \ \
 -F f=json \
 -F username=$USERNAME\
 -F password=$PASSWORD
 -F client=requestip \
 -F expiration=21600


I tried change param client and referer, it doesn't help.

Could you help me to solve this issue if it is possible?