Class: OmniAuth::Strategies::Dingtalk
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Dingtalk
- Defined in:
- lib/omniauth/strategies/dingtalk.rb
Instance Method Summary collapse
Instance Method Details
#request_phase ⇒ Object
39 40 41 42 43 |
# File 'lib/omniauth/strategies/dingtalk.rb', line 39 def request_phase params = client.auth_code..merge(redirect_uri: callback_url).merge() params['appid'] = params.delete('client_id') redirect client.(params) end |