Commit Graph

1188 Commits

Author SHA1 Message Date
Avital Oliver
0405b2e2e1 Squashed merge of Mike Bannister's code review changes 2012-08-24 12:25:31 -07:00
Mike Bannister
8297e39510 Move rendering oauth results to common spot 2012-08-24 12:25:31 -07:00
Mike Bannister
3be22008f0 Removed XXX comment similar to comment address by previous commit 2012-08-24 12:25:31 -07:00
Mike Bannister
4bb3072361 Handle oauth 1 & 2 errors in common spot 2012-08-24 12:25:31 -07:00
Avital Oliver
8fa9ff0114 Clarify comment 2012-08-24 12:25:31 -07:00
Avital Oliver
9844a169e7 Unbreak failing OAuth2 tests 2012-08-24 12:25:31 -07:00
Avital Oliver
98c364338f Various resturcturing of the relationship between the different oauth packages 2012-08-24 12:25:28 -07:00
Mike Bannister
6b914593ae record oauth1 access token secret 2012-08-24 12:24:54 -07:00
Mike Bannister
56399c2755 refactoring and reverting back to using clientId internally for weibo and google 2012-08-24 12:24:54 -07:00
Mike Bannister
a352ff2524 move oauth1 signing code into accounts-oauth1-helper 2012-08-24 12:24:53 -07:00
Mike Bannister
e14e7b7b82 restore sanity to oauth req handlers 2012-08-24 12:24:53 -07:00
Mike Bannister
2259ea6e08 move common middleware functionality into accounts-oauth-helper middleware 2012-08-24 12:24:52 -07:00
Mike Bannister
380910d72f move common code from oauth2 providers up into _requestHandler 2012-08-24 12:24:19 -07:00
Mike Bannister
768af064ba use appId instead of clientId to accommodate more cleanup 2012-08-24 12:24:18 -07:00
Mike Bannister
d7b2278630 changed variable name for consistency 2012-08-24 12:24:17 -07:00
Mike Bannister
bba4685269 changed oauthVersion to version 2012-08-24 12:23:44 -07:00
Mike Bannister
30b6b31448 pass oauth version into registerService as part of an options obj 2012-08-24 12:23:44 -07:00
Mike Bannister
19f043583d moved common server side oauth setup code to accounts-oauth-helpers 2012-08-24 12:23:42 -07:00
Mike Bannister
2acd9e17e3 moved oauth 1 and 2 registerService into accounts-oauth-helper 2012-08-24 12:23:02 -07:00
Mike Bannister
6141c032ee remove oauth 1 and 2 client file altogether 2012-08-24 12:23:00 -07:00
Mike Bannister
ca40bf2875 better naming for oauth version variable 2012-08-24 12:21:56 -07:00
Mike Bannister
63eeec4708 moved common oauth 1 and 2 client code to accounts-oauth-helper package 2012-08-24 12:21:53 -07:00
Mike Bannister
98eaf61bef renamed OAuth to OAuth1 2012-08-24 12:20:59 -07:00
Mike Bannister
7d7ac074df better munging twitter data for updateOrCreateUser 2012-08-24 12:20:59 -07:00
Mike Bannister
9c8fd2958e nicer way of handling /_oauth/<service> routes 2012-08-24 12:20:57 -07:00
Mike Bannister
5f9485d133 better comment, removed unnecessary check 2012-08-24 12:19:38 -07:00
Mike Bannister
42ca4de679 use oauth verifier 2012-08-24 12:19:38 -07:00
Mike Bannister
1bffb63b63 move requires to correct file 2012-08-24 12:19:38 -07:00
Mike Bannister
2915d907e1 added comments 2012-08-24 12:19:37 -07:00
Mike Bannister
7dfb385fc3 move methods around 2012-08-24 12:19:37 -07:00
Mike Bannister
08a53cabca cleanup oauth1 class 2012-08-24 12:19:37 -07:00
Mike Bannister
107051a3f3 extend oauth with configuration 2012-08-24 12:19:37 -07:00
Mike Bannister
ca609e5918 added some comments 2012-08-24 12:19:37 -07:00
Mike Bannister
03b7706134 first pass at oauth1 with twitter 2012-08-24 12:19:37 -07:00
Avital Oliver
410a8fcaea Explain the need for a call to Meteor.startup 2012-08-22 22:32:26 -07:00
Nick Martin
729e45003b Don't require username in example, because then we can't show use facebook or google auth 2012-08-17 17:53:01 -07:00
Nick Martin
c3b018b3c6 Show the user's email if they don't have a name or username. 2012-08-17 17:52:24 -07:00
Nick Martin
1c6a31c67a Remove unsafePasswordChanges option. 2012-08-17 17:02:06 -07:00
Nick Martin
41dff26890 Use the real email API to send real email. 2012-08-17 16:33:00 -07:00
Nick Martin
910adda358 Merge remote-tracking branch 'origin/email' into auth-email 2012-08-17 15:33:56 -07:00
Avital Oliver
d79da9b1b4 An initial semi-sane set of account-related email templates 2012-08-17 15:27:02 -07:00
Avital Oliver
0d350f2d5b Use absolute-url instead of passing baseUrl's around
While at it, some minor fixes and improvements,
and make account enrollment emails contain the right
url.
2012-08-17 15:27:02 -07:00
David Glasser
e86d282354 Basic email support 2012-08-17 14:23:19 -07:00
Nick Martin
46d296450c Merge branch 'absolute-url' into devel 2012-08-17 14:16:12 -07:00
David Glasser
eae1e2b213 meteor run: Don't miss LISTENING if there's other stuff on stdout 2012-08-17 14:00:45 -07:00
Nick Martin
f7afc0b5f3 Test hash fragments also. 2012-08-16 21:52:14 -07:00
Nick Martin
1df6b74ada Feedback from review. 2012-08-16 21:16:31 -07:00
David Glasser
4e68bdd0e9 dev_bundle 0.1.7: packages needed for email branch 2012-08-16 19:44:31 -07:00
Avital Oliver
8bfb4498cb Added comment explaining the use of the mongo positional operator 2012-08-16 11:44:50 -07:00
Avital Oliver
9ba1884352 Tests for accounts enrollment
Also made another server-side createUser test not
print emails to the console
2012-08-16 11:27:19 -07:00