No commit activity in last 3 years
No release in over 3 years
OmniAuth strategy for Mention (OAuth 2.0)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

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 the Gemfile:

gem 'omniauth'
gem 'omniauth-oauth2'
gem 'omniauth-mention'

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.