(Migrated) How to use OAuth

(This message has been automatically imported from the retired mailing list)

Hi,

How does OAuth security work in HTTP Channels? Given a channel at
/cilent/info using oauth security, how can I authenticate against it?
Additionally, how do I retrieve a token once authenticated?

Additionally,

On 07/09/2014 09:59 AM, Amit Prakash Ambasta wrote:

Hi Amit,

How does OAuth security work in HTTP Channels? Given a channel at
/cilent/info using oauth security, how can I authenticate against it?

you need a client application that knows how to produce OAuth signatures.

Additionally, how do I retrieve a token once authenticated?

Once in a service, everything to do with a given HTTP channel is in this
WSGI key:

self.wsgi_environ[‘zato.http.channel_item’]

Please check it out and let me know if it contains everything that you need.

On 07/09/2014 09:59 AM, Amit Prakash Ambasta wrote:

Hi Amit,

How does OAuth security work in HTTP Channels? Given a channel at
/cilent/info using oauth security, how can I authenticate against it?

you need a client application that knows how to produce OAuth signatures.

Additionally, how do I retrieve a token once authenticated?

Once in a service, everything to do with a given HTTP channel is in this
WSGI key:

self.wsgi_environ[‘zato.http.channel_item’]

Please check it out and let me know if it contains everything that you need.

Could you please give me an example of a service using Google oAuth to
authenticate a service?

On Wed, Jul 9, 2014 at 3:44 PM, Dariusz Suchojad dsuch@zato.io wrote:

On 07/09/2014 09:59 AM, Amit Prakash Ambasta wrote:

Hi Amit,

How does OAuth security work in HTTP Channels? Given a channel at
/cilent/info using oauth security, how can I authenticate against it?

you need a client application that knows how to produce OAuth signatures.

Additionally, how do I retrieve a token once authenticated?

Once in a service, everything to do with a given HTTP channel is in this
WSGI key:

self.wsgi_environ[‘zato.http.channel_item’]

Please check it out and let me know if it contains everything that you
need.