lib/omniauth/strategies/chatwork.rb in omniauth-chatwork-0.1.0 vs lib/omniauth/strategies/chatwork.rb in omniauth-chatwork-0.1.1
- old
+ new
@@ -2,10 +2,10 @@
require "faraday"
module OmniAuth
module Strategies
class Chatwork < ::OmniAuth::Strategies::OAuth2
- DEFAULT_SCOPE = "rooms.all:read_write"
+ DEFAULT_SCOPE = "rooms.all:read_write users.profile.me:read"
option :client_options, {
site: "https://api.chatwork.com/v2",
authorize_url: "https://www.chatwork.com/packages/oauth2/login.php",
token_url: "https://oauth.chatwork.com/token",