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