Implementing OAuth using webMethods Integration Server

thank you in this tutorial , its worked

but i want to ask again , sorry for my bad english
how to dynamic cllient_id and client_secret and also url ???

as example this is my package .

wisAuth.zip (87.2 KB)

Run Services with auto approve : wisAuth.services:wisOAuth
Redirect URI : http://host:port/invoke/wisAuth.services:getToken

thanks

use this service : pub.flow:getTransportInfo at the beginning of your service and capture hostname and referer for client id and client secret

transport/http/requestHdrs/Host
transport/http/requestHdrs/referer

can you example with me in your Designer???.
i tried to using TransportInfo but No Data referer where’s my client id and client secret…
image

for Redirect URI i tried to using Global Variables and it works
please help for dynamic client_id and client_secret and same scope …
Thanks

email me your phone number to rd042308@gmail.com

i’ve been sent from your email , please check

thanks

Hi ,

I need some help to login into email port through webmethod service .

Hi Deepa,

might have been better to open an new thread for this issue and provide more detailed description.

Regards,
Holger

2 Likes

Check this - How to send email

thank you for the information, but I am getting back with huge gap, sorry for that.

Actually the mentioned property already with default value watt.server.oauth.requireHTTPS to True
but still I am getting the same exception could you please do the needful.

Hello @ukumar029 /Experts,

I have the same question as Andi here, may i know how do i get the client_id and client_secret by using pub.flow:getTransportInfo as per the code given.