
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@startupjs/auth-linkedin
Advanced tools
@startupjs/auth: >= 0.33.0
react-native-webview: 10.10.2
1 - Create a software application link
2 - In the Auth tab, copy Client ID as LINKEDIN_CLIENT_ID
, Client Secret as LINKEDIN_CLIENT_SECRET
3 - Add links for redirects, on tab Authorized redirect URLs for your app:
http://localhost:3000/auth/linkedin/callback
http://localhost:3000/auth/linkedin/callback-native
4 - In Products tab, select Sign In with LinkedIn
Importing strategy:
import { Strategy as AzureadStrategy } from '@startupjs/auth-azuread/server'
Importing lib for config:
import conf from 'nconf'
In startupjsServer, in the strategy of the initAuth function need to add LinkedinStrategy:
initAuth(ee, {
strategies: [
new LinkedinStrategy({
clientId: conf.get('LINKEDIN_CLIENT_ID'),
clientSecret: conf.get('LINKEDIN_CLIENT_SECRET')
})
]
})
Dynamic initialization of the strategy is also available, which occurs every time directly at the moment of user authorization.
initAuth(ee, {
strategies: [
new LinkedinStrategy({
getClient: async function(req) {
// ...
return {
id: '######',
secret: '######'
}
},
})
]
})
import { AuthButton as LinkedinAuthButton } from '@startupjs/auth-linkedin/client'
FAQs
LinkedIn auth plugin for StartupJS auth module
The npm package @startupjs/auth-linkedin receives a total of 55 weekly downloads. As such, @startupjs/auth-linkedin popularity was classified as not popular.
We found that @startupjs/auth-linkedin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.