AnsweredAssumed Answered

Can "OTK Generate OAuth Token" Assertion be used in normal web API

Question asked by suhas.mv on Jul 17, 2017
Latest reply on Jul 26, 2017 by steba03

We have a requirement to issue an access token after doing authentication with custom set of ruled. I have built an API that does the performs the required authentication. Now i need to issue a token and send the response. As of now i am calling the available OAuth endpoint "https://localhost:443/auth/oauth/v2/token" from the policy internally and sending the response of that to the consumer . I think this will add some amount of latency.  Instead of doing so 

Can i make use of "OTK Generate OAuth Token" Assertion to generate the token and form the response? What is the best way to do it?

Outcomes