fix: remove linkedin signin and paths (#17720)
This commit is contained in:
committed by
Quincy Larson
parent
c459572fcf
commit
2a192671da
@ -101,44 +101,6 @@ export default {
|
||||
link: true,
|
||||
failureFlash: true
|
||||
},
|
||||
'linkedin-login': {
|
||||
provider: 'linkedin',
|
||||
authScheme: 'oauth2',
|
||||
module: 'passport-linkedin-oauth2',
|
||||
authPath: '/auth/linkedin',
|
||||
callbackURL: '/auth/linkedin/callback',
|
||||
callbackPath: '/auth/linkedin/callback',
|
||||
useCustomCallback: true,
|
||||
successRedirect: successRedirect,
|
||||
failureRedirect: failureRedirect,
|
||||
clientID: process.env.LINKEDIN_ID,
|
||||
clientSecret: process.env.LINKEDIN_SECRET,
|
||||
profileFields: ['public-profile-url'],
|
||||
scope: ['r_basicprofile', 'r_emailaddress'],
|
||||
authOptions: {
|
||||
state: process.env.LINKEDIN_STATE
|
||||
},
|
||||
failureFlash: true
|
||||
},
|
||||
'linkedin-link': {
|
||||
provider: 'linkedin',
|
||||
authScheme: 'oauth2',
|
||||
module: 'passport-linkedin-oauth2',
|
||||
authPath: '/link/linkedin',
|
||||
callbackURL: '/link/linkedin/callback',
|
||||
callbackPath: '/link/linkedin/callback',
|
||||
successRedirect: linkSuccessRedirect,
|
||||
failureRedirect: linkFailureRedirect,
|
||||
clientID: process.env.LINKEDIN_ID,
|
||||
clientSecret: process.env.LINKEDIN_SECRET,
|
||||
profileFields: ['public-profile-url'],
|
||||
scope: ['r_basicprofile', 'r_emailaddress'],
|
||||
authOptions: {
|
||||
state: process.env.LINKEDIN_STATE
|
||||
},
|
||||
link: true,
|
||||
failureFlash: true
|
||||
},
|
||||
'github-login': {
|
||||
provider: 'github',
|
||||
authScheme: 'oauth2',
|
||||
|
@ -8,17 +8,14 @@ block content
|
||||
h4 Select from the following deprecated sign in methods to access your account and add a valid email address to it.
|
||||
br
|
||||
a.btn.btn-lg.btn-block.btn-social.btn-github(href='/auth/github')
|
||||
i.fa.fa-github
|
||||
i.fab.fa-github
|
||||
| Sign in with GitHub
|
||||
a.btn.btn-lg.btn-block.btn-social.btn-facebook(href='/auth/facebook')
|
||||
i.fa.fa-facebook
|
||||
i.fab.fa-facebook
|
||||
| Sign in with Facebook
|
||||
a.btn.btn-lg.btn-block.btn-social.btn-google(href='/auth/google')
|
||||
i.fa.fa-google
|
||||
i.fab.fa-google
|
||||
| Sign in with Google
|
||||
a.btn.btn-lg.btn-block.btn-social.btn-linkedin(href='/auth/linkedin')
|
||||
i.fa.fa-linkedin
|
||||
| Sign in with LinkedIn
|
||||
a.btn.btn-lg.btn-block.btn-social.btn-twitter(href='/auth/twitter')
|
||||
i.fa.fa-twitter
|
||||
i.fab.fa-twitter
|
||||
| Sign in with Twitter
|
||||
|
Reference in New Issue
Block a user