Skip to content

Commit df52f4e

Browse files
committed
Add notes on usage with OAuthorize to README.
1 parent 61c34e7 commit df52f4e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,18 @@ application:
123123
res.json(req.user);
124124
});
125125

126+
## Combine with OAuthorize
127+
128+
[OAuthorize](https://github.com/jaredhanson/oauthorize) is a toolkit for
129+
implementing OAuth service providers. It bundles a suite of middleware
130+
implementing the request token, access token, and user authorization endpoints
131+
of the OAuth 1.0 protocol.
132+
133+
This middleware, combined with the `ConsumerStrategy` and a user authentication
134+
strategy can be used to implement the complete OAuth flow, issuing access tokens
135+
to consumers. `TokenStrategy` can then be used to protect API endpoints using
136+
the access tokens issued.
137+
126138
## Examples
127139

128140
The [example](https://github.com/jaredhanson/oauthorize/tree/master/examples/express2)

0 commit comments

Comments
 (0)