frausto
fe03a33099
test for token_url
2015-02-13 10:34:38 -08:00
frausto
df7f2addd6
add test for image_url with versioning
2015-02-13 10:15:48 -08:00
frausto
cf214467ee
strip leading "/" from the token_url
2015-02-11 13:39:43 -08:00
frausto
768ab1d24a
dont force lowest FB version for requests
2015-02-10 16:46:45 -08:00
Josef Šimánek
5b6b6a0701
Add test for unkown_signature_algorithm fail and ensure kind of fails in tests.
2014-12-02 21:52:31 +01:00
Tomoya Hirano
c47de0daab
Add tests when authorization code is not included in callback
2014-05-11 19:28:16 +02:00
Mark Dodwell
765ed9a967
remove support for canvas app flow
2014-05-11 19:28:16 +02:00
Josef Šimánek
062d547148
Make tests Ruby 1.8 compatible.
2014-01-22 07:39:48 +01:00
Mark Dodwell
cf00da9f8b
simplify test for image size option
2013-12-28 14:53:32 -08:00
Mark Dodwell
92d11344fc
avoid changing method visibility from omniauth-oauth2
2013-12-03 00:23:41 -08:00
Mark Dodwell
e14be7c6d6
use custom error class vs. regexp on string. use less terse fail names
2013-12-03 00:23:39 -08:00
Josef Šimánek
83e7547c12
Tests for appsecret_proof.
2013-12-03 04:50:58 +01:00
Josef Šimánek
76eb99647e
Add test for info_fields parameter.
2013-12-03 04:11:21 +01:00
Mark Dodwell
53372d2410
this does not provide authentication, should not be used
2013-11-14 00:48:32 -08:00
Mark Dodwell
c277322722
fix CSRF vulnerability (cherry-picked from 1-5-0-stable)
...
Conflicts:
lib/omniauth/strategies/facebook.rb
test/support/shared_examples.rb
test/test.rb
2013-11-12 13:42:20 -08:00
Josef Šimánek
3530e30753
Test locale option.
2013-10-31 23:10:21 +01:00
Mark Dodwell
7d32cc2652
Merge pull request #127 from oriolgual/fix_nil_signature_value
...
Don't try to parse the signature if it's nil
2013-10-07 21:14:34 -07:00
Oriol Gual
c497b42831
Don't try to parse the signature if it's nil
2013-08-16 16:55:27 +02:00
Narsimham Chelluri
867ff3680c
fail! if there is no 'code' parameter or 'fbsr_' cookie in the callback.
...
Includes tests for #signed_request.
2013-06-11 03:08:00 -07:00
Brendan Loudermilk
0175533e1b
Adds info_fields
option
...
Facebook exposes a `fields` parameter for the `/me` endpoint that
allows the client to return additional information about the
authenticated user. This commit adds an `info_fields` option that
maps directly to that parameter, when specified.
2013-05-08 08:19:11 -07:00
Vesa Vänskä
edacef8c40
Fixes image url test
...
On Ruby 1.8.7 the order of hash key-value pairs is
not guaranteed.
2013-02-11 14:55:32 +02:00
Richard Lee
15219f96d4
Update test case for authorize url.
2013-02-06 14:32:41 +08:00
Wei Lu
4ab275922d
Support ruby-1.8.7
2012-11-24 09:08:36 +08:00
Wei Lu
3f221292b6
Image dimension can be set using image_size option
2012-11-23 21:39:49 +08:00
Sebastian Goodman
7446baa693
ability to specify auth_type per-request
2012-08-31 14:26:37 -07:00
Mark Dodwell
8441e6e62b
switch to minitest, see how it goes
2012-07-01 16:45:22 -07:00