OAuth 2.0 authentication in HTTP Module

Suganth G picture Suganth G · Sep 23, 2014 · Viewed 18.3k times · Source

Is it possible to implement OAuth(Open Authorization) 2.0 or 1.0 in HTTP Module.

Why i m choosing this because, each and every request will first reaches the HTTP Module, so from that request i have to authenticate

Is it possible ?

If YES means , please like a related link for that

Help me..

Answer

Eugenio Pace picture Eugenio Pace · Sep 24, 2014

Yes, this is possible. In fact mod_auth_openidc does exactly that for Apache (and for OpenId Connect, which is a protocol built on OAuth2).

More on the scenario here: https://auth0.com/blog/2014/08/22/sso-for-legacy-apps-with-auth0-openid-connect-and-apache/