Skip to content
Oauth 2-legged strategy for passport
Find file
Pull request Compare This branch is 22 commits behind camme:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Oauth 2-legged strategy for passport

This oauth strategy is used for a 2-legged scenario (even called 0-legged). Its a consumer to server authentication where each request is signed as defined in oauth but an empty access_token is used. No user data is exposed, as it is the consumer that has access to the protected resource.

It works as but skips the access_token verification step and accepts empty access_tokens.

The cose base is 98% but adapted for the 2-legged scenario. So thanks jaredhanson for all work!.

Something went wrong with that request. Please try again.