Forum Discussion

SajithaVasu's avatar
SajithaVasu
New Contributor
7 years ago

Problem Implementing 0Auth 2.0 Authentication through Javascript Language

Hi . I am working on complex calculation project in Ready APi which has scripting language as"javaScript". We would need to implement Authentication in the Composite Project. Could anyone share the script to retrieve the token automatically through Javascript. I am able to retrieve the details automatically through Groovy but i wont be  able to change the project language to groovy as it has more complex language which was implemented using Javascript. It would take more effort to change the language for this issue.

 

Problem Statement: Need support for oAuth 2.0 Implementation using Javascript. Retrieving token automatically.

 

So Please anyone share the code to retrieve the token automatically.