fix(auth): on-boarding, signup and welcome flows (#16882)

* fix(auth): Route should have specific targets

* fix(signup): Redirection should be to signup

Closes #16945

* feat(redirect): All fallback redirects to signin

* fix: send back to originating route

* fix(server,secrets): Specify profile field for LinkedIn provider.

* fix(profile): Add route to react profile page
This commit is contained in:
mrugesh mohapatra
2018-04-13 20:18:10 +05:30
committed by Stuart Taylor
parent d6f217c1b9
commit a2076ce1ec
9 changed files with 32 additions and 17 deletions

View File

@ -38,6 +38,7 @@ module.exports = {
clientID: process.env.LINKEDIN_ID,
clientSecret: process.env.LINKEDIN_SECRET,
callbackURL: '/auth/linkedin/callback',
profileFields: ['public-profile-url'],
scope: ['r_basicprofile', 'r_emailaddress'],
passReqToCallback: true
},