lib/omniauth/strategies/line_messenger.rb in omniauth-line-messenger-0.2.0 vs lib/omniauth/strategies/line_messenger.rb in omniauth-line-messenger-0.3.0
- old
+ new
@@ -2,10 +2,10 @@
require 'json'
module OmniAuth
module Strategies
class LineMessenger < OmniAuth::Strategies::OAuth2
- option :name, 'line_messenger'
+ option :name, 'line'
option :scope, 'profile openid email'
option :client_options, {
site: 'https://access.line.me',
authorize_url: '/oauth2/v2.1/authorize',