Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Update README.

  • Loading branch information...
commit 69a7f6d669a2261890be17fc6949365f0f1ccfe9 1 parent 38af1bc
@jaredhanson authored
Showing with 9 additions and 4 deletions.
  1. +9 −4
@@ -18,10 +18,15 @@ unobtrusively integrated into any application or framework that supports
#### Configure Strategy
The Twitter authentication strategy authenticates users using a Twitter account
-and OAuth tokens. The strategy requires a `verify` callback, which accepts these
-credentials and calls `done` providing a user, as well as `options` specifying a
-consumer key, consumer secret, and callback URL. Obtain the consumer key and
-consumer secret by [creating a Twitter application.](
+and OAuth tokens. The strategy requires a `verify` callback, which receives the
+access token and corresponding secret as arguments, as well as `profile` which
+contains the authenticated user's Twitter profile. The `verify` callback must
+call `done` providing a user to complete authentication.
+In order to identify your application to Twitter, specify the consumer key,
+consumer secret, and callback URL within `options`. The consumer key and secret
+are obtained by [creating an application]( at
+Twitter's [developer]( site.
passport.use(new TwitterStrategy({
Please sign in to comment.
Something went wrong with that request. Please try again.