OmniAuth Mention

This is an OmniAuth 1.0 strategy for authenticating to Mention.

Get a Mention Oauth2.0 API key at their Developers Area

Usage

In a Rack application:

use OmniAuth::Builder do
  provider :mention, ENV['MENTION_KEY'], ENV['MENTION_SECRET'], {:provider_ignores_state => true}
end

For Rails, put this in config/initializers/omniauth.rb:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :mention, ENV['MENTION_KEY'], ENV['MENTION_SECRET'], {:provider_ignores_state => true}
end

Restart your server and visit /auth/mention to try it out

Authors

License

Copyright (c) 2013 Etienne Depaulis

This source code released under an MIT license.