cancel
Showing results for 
Search instead for 
Did you mean: 

PI REST Adapter Using Authorization Code

0 Kudos

UPDATE:

It seems there was a misunderstanding, and Vonage is allowing us to use a Password Credentials Grant Type for authorization.

ORIGINAL POST:

We are building an integration with the Vonage API and we are wondering if it is possible to use the Authorization Code with PI oAuth in the REST receiver communication channel.

From my understanding the process seems to work like this:

1. Send an HTTP Request to the /authorize endpoint.

2. Redirected to a login page.

3. Login with Vonage provided credentials.

4. Redirect to the specified redirect url.

5. The Authorization code is in the url.

6. Send an HTTP Request to /token endpoint, with Authorization Code as a parameter.

7. API responds with the access token needed for API calls.

I have been able to walk through this process in Postman, but I do not know if PI is capable of going through the redirects, and logins needed to finish the process. I have been researching this for a couple of days, and any help is greatly appreciated.

Accepted Solutions (0)

Answers (1)

Answers (1)

alex_bundschuh
Product and Topic Expert
Product and Topic Expert
0 Kudos
0 Kudos

Thank you for your response. I think my version of SAP, 7.5 SP15, does not allow us to use JWT for authentication. However, it appears that I can use the Resource Owner Password Credentials Grant after all, so everything worked out.