Posted: Tue Jun 09, 2015 9:06 am Post subject: Oauth in IIB
Novice
Joined: 09 Sep 2014 Posts: 13
for User level Authorization we need to follow the below steps
1. The consumer requests a request token (usually by passing an application key and application secret)
2. The user is then redirected to a login page, passing the request token to that page
3. User logs in and is redirected back to the consumer, passing the request token to the consumer's page
4. The consumer exchanges the request token for an access token
5. If the previous request was valid, the server will return an access token to the consumer. The access token is used for API requests
how we can implement this in IIB
i have Request tokens(client key and client secret)
i am trying to call Authorize URL via HTTPRequest node am not able to parse the response which is an HTML Login page
Posted: Tue Jun 09, 2015 9:09 am Post subject: Re: Oauth in IIB
Grand Master
Joined: 25 Jun 2008 Posts: 17447
IIB is not an HTTP server.
There is no built in HTML parser.
You should review your design, and consider using the methods to export the IIB config for use with a standard http server.
And review the documentation on OAth in IIB - i.e. how to actually validate the token you will receive after all of the exchanges and approvals are done.
Or consider DataPower or other external security provider.
thanks for the Reply, we changed our design from User level authentication to Application level ,where we will be exchanging request token with application token directly
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum