Commit c1007e42c764995dfa6cd756e4ebc25d67e032ad
1 parent
3e2a483a
Exists in
fix_sign_up_form
oauth_client: use options stored in provider
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
plugins/oauth_client/lib/oauth_client_plugin.rb
| ... | ... | @@ -72,6 +72,7 @@ class OauthClientPlugin < Noosfero::Plugin |
| 72 | 72 | strategy.options.merge! consumer_key: provider.client_id, consumer_secret: provider.client_secret |
| 73 | 73 | strategy.options.merge! client_id: provider.client_id, client_secret: provider.client_secret |
| 74 | 74 | strategy.options.merge! options |
| 75 | + strategy.options.merge! provider.options | |
| 75 | 76 | |
| 76 | 77 | request.session[:provider_id] = provider_id |
| 77 | 78 | } | ... | ... |