lib/omniauth/strategies/mlh.rb in omniauth-mlh-0.2.0 vs lib/omniauth/strategies/mlh.rb in omniauth-mlh-0.2.1
- old
+ new
@@ -5,11 +5,11 @@
class MLH < OmniAuth::Strategies::OAuth2
option :name, :mlh
option :client_options, {
:site => 'https://my.mlh.io',
- :authorize_path => '/oauth/authorize',
- :token_path => '/oauth/token'
+ :authorize_url => '/oauth/authorize',
+ :token_url => '/oauth/token'
}
uid { raw_info['data']['id'] }
info do