cancel
Showing results for 
Search instead for 
Did you mean: 

Oauth with SAMLin Receiver REST Adapter

Binod_Thakur
Participant
0 Kudos

Hello All,

I am trying to configure Oauth in receiver REST channel but don't have any idea what details have to provide. I am able to get access_token via postman with below details

client_id:

client_secret:

username:

password:

grant_type:

access_token URL:

Please suggest me the solution.

Appreciate your time.

Regards,

Binod

Accepted Solutions (1)

Accepted Solutions (1)

manoj_khavatkopp
Active Contributor
0 Kudos

Binod ,

As mentioned earlier this is not SAML based OAuth, looking at the details it is Grant Type OAuth . And Currently, this new Grant Type Oauth is available only in 7.5 version.

You need to have a custom module to be developed for lower version , check this reference blog

br,

Manoj

Binod_Thakur
Participant
0 Kudos

Thanks, Manoj for your response.

I have written java code to handle the access_token dynamically. One more big challenge I am facing now.

I'm integrating PI with the 3rd party (https://api.sharefile.com) via receiver rest adapter it's 7.40. Uploading the file to sharefile is a two-way process, in 1st rest call it returns Chunk URI and then again I have to make one more rest call on Chunk URI then file is getting uploaded in sharefile. I have tested it with Postman, its working fine. But, in rest adapter, I can make anyone call from GET/POST/PUT/DELETE.

I am just confused how to implement same thing in PI???

Regards,

Binod

manoj_khavatkopp
Active Contributor
0 Kudos

This is what you can try :

Sender --->Mapping ( First Rest lookup to get access token) + ( Second Rest Lookup to get Chunk URI) --->Reciever ( to Upload the final file)

Br,

Manoj

Answers (0)