Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1376

The curl command we provide to prevent the Offline token to expire, returns 400.

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • cloud-2022-04-12
    • cloud-2022-04-12
    • UI
    • None

      In our cloud Automation Hub, we provide a curl command in order to prevent the token to expire.

       https://console.redhat.com/ansible/automation-hub/token

      The curl command is returning 400.

      # curl https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token -d grant_type=refresh_token -d client_id="REMOVED" -d refresh_token="REMOVED" --fail --silent --show-error --output /dev/null 
      curl: (22) The requested URL returned error: 400

              mhradil-1 Martin Hradil
              rhn-support-rafsanch Rafael Minguillón Sánchez
              Henderson Hummel Henderson Hummel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: