Reltio Connect

 View Only
  • 1.  504 Timeouts on Authentication endpoint

    Posted 23 days ago

    I'm looking to play around with the API in the training environment that I was provisioned. I've created an appropriate client using the Client Credentials app, but I keep getting 504 timeout errors. Here is an anonymized cURL snippet representing the Postman request I'm attempting to send:

    curl --location 'https://auth.reltio.com/oauth/token' \
    --header 'Authorization: Basic <base_64_encoded_from client_id:client_secret>' \
    --header 'Content-Type: application/x-www-form-urlencoded' \
    --data-urlencode 'grant_type=client_credentials'

    I'm able to confirm that my authorization base 64 is correct as I get appropriate errors if I change anything about it (including generating it with the wrong secret).

    Is this a limitation of the training tenant? Or is there something else going on?

    Thanks



    ------------------------------
    Trevor Burn
    Assent
    ------------------------------


  • 2.  RE: 504 Timeouts on Authentication endpoint

    Posted 22 days ago
    Hi,
    Auth API for Client Credentials.
    https://auth.reltio.com/oauth/token?client_id=<ClientId>&client_secret=<ClientSecret>&grant_type=client_credentials


    ------------------------------
    Radhakrishnan Ramalingam Architect
    Majix Solutions Inc
    San Ramon, CA
    ------------------------------



  • 3.  RE: 504 Timeouts on Authentication endpoint

    Posted 22 days ago

    Thanks for the tip, but unfortunately that didn't solve my problem. Just to be clear, the ClientID being referenced is the one that I named on the Client Credentials page and not the tenant, customer, or environment ID, correct?



    ------------------------------
    Trevor Burn
    Assent
    ------------------------------



  • 4.  RE: 504 Timeouts on Authentication endpoint

    Posted 22 days ago

    Yes that's correct.  Client  credentials   Will have  role assignment and that should have tenant info. 



    ------------------------------
    Radhakrishnan Ramalingam Architect
    Majix Solutions Inc
    San Ramon, CA
    ------------------------------



  • 5.  RE: 504 Timeouts on Authentication endpoint

    Posted 16 days ago

    Still not able to get things working in the training environment. However, the same setup I used here worked just fine for the DEV environment. So I have to assume that the training tenant doesn't have full API access unless told otherwise.



    ------------------------------
    Trevor Burn
    Assent
    ------------------------------



  • 6.  RE: 504 Timeouts on Authentication endpoint

    Founding Member
    Posted 16 days ago

    Following works for me, see if it helps

    curl --location 'https://auth.reltio.com/oauth/token' \
    --header 'Content-Type: application/x-www-form-urlencoded' \
    --data-urlencode 'grant_type=client_credentials' \
    --data-urlencode 'client_id=<<CLIENT ID>>' \
    --data-urlencode 'client_secret=<<CLIENT SECRET>>'



    ------------------------------
    Ashish Rawat
    Sr. Manager
    Fresh Gravity
    Bangalore
    ------------------------------