
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@entur/auth-provider
Advanced tools
Authentication provider for Entur applications. Primarily aimed at easing transition between legacy keycloak and auth0 in internal and data provider applications.
npm install --save @entur/auth-provider
import React from 'react'
import { render } from 'react-dom';
import AuthProvider, { useAuth } from '@entur/auth-provider';
const auth0Config = {}; //<-- see auth0 docs for required fields
const auth0ClaimsNamespace = ''; // <-- required for custom roles parsing
// If set to false, app will not automatically redirect to login page
const loginAutomatically = false;
const App = () => {
const {
isAuthenticated
} = useAuth();
return (
<h1>
{isAuthenticated ? 'Yay' : 'Oh no ...'}
</h2>
)
}
render(
<AuthProvider
auth0Config={auth0Config}
auth0ClaimsNamespace={auth0ClaimsNamespace}
loginAutomatically={loginAutomatically}
>
<App />
<AuthProvider>
);
First build:
npm run build
Then bump version:
npm version [major|minor|patch]
Then publish (use dry-run first to see what's included)
npm publish --dry-run
npm publish
Finally, push tags to GitHub
git push origin --tags
EUPL © entur/nrp
FAQs
React components and helpers for authentication
The npm package @entur/auth-provider receives a total of 13 weekly downloads. As such, @entur/auth-provider popularity was classified as not popular.
We found that @entur/auth-provider demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 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
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.