Skip to main content

Having problems to get access_token %= access_token %

  • August 1, 2017
  • 5 replies
  • 50 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 replies.

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




aravind.sundararajan
Skilled Expert
Forum|alt.badge.img+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!


  • Contributor
  • October 18, 2017

Hey guys,


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


  • Author
  • Contributor
  • October 19, 2017

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



  • Author
  • Contributor
  • October 19, 2017

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.