We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e62098 commit a026436Copy full SHA for a026436
plugin.rb
@@ -70,19 +70,15 @@ def raw_info
70
# customization
71
def authorize_params
72
super.tap do |params|
73
- params[:appid] = options.client_id
+ params[:appid] = SiteSetting.oauth2_phone_id
74
params[:scope] = 'snsapi_userinfo'
75
- params.delete('client_id')
76
-
77
end
78
79
def token_params
80
- super.tap do |params|client_id
81
82
- params[:secret] = options.client_secret
+ super.tap do |params|
+ params[:secret] = SiteSetting.oauth2_phone_secret
83
params[:parse] = :json
84
85
- params.delete('client_secret')
86
87
88
0 commit comments