Berkeley Martinez
2fcd976700
fix(signup): signup auth ( #15628 )
...
* fix(models.user): Colocate all user methods
Moved user methods/extensions into one file. Tracked down `next method
called more than once` error and setting headers after their sent. Let
regular error handler handle api errors as well.
* feat(server.auth): Disable github account creation
We are no longer allowing account creation through github
* refactor(Auth): Move user identity link into models dir
* feat(Disable link account login): This removes the ability to use a linked account t
* feat(errorhandlers): Add opbeat, filter out handled error
2017-07-14 00:09:07 +05:30
Abhisek Pattnaik
e64a16ed64
Remove Github OAuth2 field - scope
...
Remove the optional and invalid `scope` properties of "github-login" and "github-link" passport strategies.
This will result in only retrieval of the public data as required. This is the current behavior. No breaking changes.
2016-11-30 13:07:28 +05:30
daphneppl
f529067c04
Add more explanation for what escaping is ( #10751 )
...
* Update button text and Explain more what escaping is
Redirect back to settings page with flash message on success
2016-10-01 00:11:29 -04:00
Berkeley Martinez
668bd74690
Fix(lint): Add import eslint and fix import errors
2016-07-28 23:40:01 -07:00
Mrugesh Mohapatra
b02ddc135d
Update paths to minimize re-directs
2016-05-03 15:06:20 +00:00
Berkeley Martinez
d9d44ae509
fix redirect link failures to /account
2015-08-18 14:48:52 -07:00
Berkeley Martinez
b828a1e825
fix google should be oauth2
2015-08-16 06:51:47 -07:00
Berkeley Martinez
0262d1b676
fix github link
...
link callback uri should have some path as auth callback uri
2015-08-12 21:44:55 -07:00
Berkeley Martinez
fc29c1fd9b
linking accounts now works.
...
bug, need to change how loopback generates provider string.
2015-08-12 20:10:11 -07:00
Berkeley Martinez
2256f3ef6e
fix add github link to passport
2015-08-10 23:38:10 -07:00
Berkeley Martinez
8270cb4103
add github auth
2015-08-01 08:39:13 -07:00
Berkeley Martinez
81ae7daff1
fix try using oath instead of oauth2 for google
2015-06-18 12:28:16 -07:00
Quincy Larson
0ef399ad92
Merge branch 'staging' of github.com:FreeCodeCamp/freecodecamp into staging
...
Conflicts:
server/passport-providers.js
2015-06-17 22:06:40 -07:00
Quincy Larson
1a3e227920
updated linkedin permissions
2015-06-17 22:05:37 -07:00
Berkeley Martinez
c56c8fb310
fix linkedin/google should be oath2
...
fix should be authOptions not oAuthOptions
fix should be LINKEDIN_STATE not LINKED_STATE
2015-06-17 21:43:22 -07:00
Berkeley Martinez
caacee7959
fix should be env not ENV
2015-06-17 21:13:47 -07:00
Berkeley Martinez
bfddc0330f
add state attribute to linked oauth
...
note: a new variable will need to be added to .env 'LINKEDIN_STATE'
which is a random string
2015-06-17 20:59:35 -07:00
Berkeley Martinez
cd38a2d88e
fix user local signin
2015-06-09 17:22:14 -07:00
Berkeley Martinez
7a2bcc06f7
add passport stuff back
...
Because Berkeley really needs to wait for his coffee to kick in before
commiting anything...
2015-06-04 12:03:53 -07:00
Berkeley Martinez
66eff31294
Adding passport config stuff
2015-06-04 10:52:12 -07:00