Codebase list ruby-omniauth-facebook / cf21446
strip leading "/" from the token_url frausto 9 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1515 option :client_options, {
1616 :site => 'https://graph.facebook.com',
1717 :authorize_url => "https://www.facebook.com/dialog/oauth",
18 :token_url => '/oauth/access_token'
18 :token_url => 'oauth/access_token'
1919 }
2020
2121 option :token_params, {
1616 end
1717
1818 test 'has correct token url' do
19 assert_equal '/oauth/access_token', strategy.client.options[:token_url]
19 assert_equal 'oauth/access_token', strategy.client.options[:token_url]
2020 end
2121 end
2222