Having problems to get access_token %= access_token %

  • 1 August 2017
  • 5 replies
  • 45 views


Im trying to get the access_token, but the  <%= access_token %> seems to keep that way. Without change


https://developers.freshdesk.com/docs/oauth/



This topic has been closed for comments

5 replies







Hi Axel,




I will have this checked and get back to you soon. Thanks for your patience.













animator.gif
Thriyambhakesh Ravi


Technical Account Manager, Freshdesk
p : +61281884692
e : thriyambhakesh.ravi@freshworks.com













Userlevel 4
Badge +12

Hello Axel,




Sorry that we have kept this thread unattended for a very long time.Have you been able to workaround this issue? Please let us know in case if you're still looking for some help.




Cheers!



Hey guys,




Any update with this? I'm facing the same now.



Yes.


Mahesh Siva S T explain this to me: 


The substitution of access_token happens at the server side(on freshdesk server), console.log will not make any substitution.


When you use $request and token substitution using <%= %> in your headers, it should work.




So to check if the token was accessing right I made an endpoint on my API to check if it was correct





The substitution of access_token happens at the server side, console.log will not make any substitution.


When you use $request and token substitution using <%= %> in your headers, it should work.






So I created an endpoint in my API to see if the token was getting correctly.