Using OAuth to authenticate Zendesk API requests in a web app

Have more questions? Submit a request

3 Comments

  • Abhinav tuteja
    1. By using python
    2. Make a request with a token to a endpoint that will return some device data (period, ssid, password), based on the input (token and device id)
    3. This device data should be used in the rest of the script

    The endpoint to obtain the script data is: https://ahorta.herokuapp.com/sensor?secret=%s&deviceid=%s

    So the device should have a deviceid that will be a given name (like thefirstplant)

     

    Anybody know how to do this plz help

    0
  • Abhilash Sathe

    The OAuth mechanism only works for my own subdomain. Doesn't work with other subdomains. Says invalid client id/invalid authorization request.

    0
  • Joseph May

    Hi Abhilash-
    That sounds like expected behavior. A new client would need to be created for a different subdomain.

    0

Please sign in to leave a comment.

Powered by Zendesk