Skip to content

waterlock/waterlock-twitter-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Waterlock Twitter Auth

Build Status NPM version Dependency Status

waterlock-twitter-auth is a module for waterlock providing a twitter authentication method for users either based on username.

Usage

npm install waterlock-twitter-auth

set the following option in your waterlock.js config file

authMethod: [
	{
		name: "waterlock-twitter-auth",
		consumerKey: "your-consumer-key",
		consumerSecret: "your-consumer-secret"
	}
]

Direct your user to /auth/login will initiate the oauth request. The callback uri is /auth/twitter_oauth if successfuly authenticated a user record will be created if a user is not found one will be created using the waterlines findOrCreate method

About

Twitter authentication method for Waterlock

Resources

License

Stars

Watchers

Forks

Packages

No packages published