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,
|
link: true,
|
||||||
failureFlash: 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': {
|
'github-login': {
|
||||||
provider: 'github',
|
provider: 'github',
|
||||||
authScheme: 'oauth2',
|
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.
|
h4 Select from the following deprecated sign in methods to access your account and add a valid email address to it.
|
||||||
br
|
br
|
||||||
a.btn.btn-lg.btn-block.btn-social.btn-github(href='/auth/github')
|
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
|
| Sign in with GitHub
|
||||||
a.btn.btn-lg.btn-block.btn-social.btn-facebook(href='/auth/facebook')
|
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
|
| Sign in with Facebook
|
||||||
a.btn.btn-lg.btn-block.btn-social.btn-google(href='/auth/google')
|
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
|
| 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')
|
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
|
| Sign in with Twitter
|
||||||
|
Reference in New Issue
Block a user