Forum Discussion
richie
Community Hero
Hey deb,
Is there a reason youre not trying to use the embedded OAuth functionality rather than relying purely on groovy script to do it?
You also have the option of rather than relying on theembedded functionality, you can in fact just create the 5 or 6 REST calls you need (emulating the calls madeby the OAuth functionality) to generate the token. I had to do this before when the OAuth solution had been customised away from the normal grant types so i couldnt use the embedded functionality.
Cheers,
Rich
Is there a reason youre not trying to use the embedded OAuth functionality rather than relying purely on groovy script to do it?
You also have the option of rather than relying on theembedded functionality, you can in fact just create the 5 or 6 REST calls you need (emulating the calls madeby the OAuth functionality) to generate the token. I had to do this before when the OAuth solution had been customised away from the normal grant types so i couldnt use the embedded functionality.
Cheers,
Rich
deb
4 years agoNew Contributor
Hi Rich.
We do not want to use the embedded OAuth functionality. The reason being we do not want to have the Client secret and other input data hard-coded.
This will not let push our script to git due to compliance issue.
One option I was looking for if we could feed those input data from external file such as .json/ excel....
Else, use a groovy script that could replicate the flow of Auth Manager--> Oauth2 for generating the Access token without using the embedded OAuth functionality
Thanks,
Deb
Related Content
- 2 years ago
- 10 months ago
Recent Discussions
- 22 days ago