
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
react-jwt-auth
Advanced tools
Work in progress. Contributions are welcomed!
Satellizer, for its simplicity, clear code and maturity was initial source of inspiration. As there is no need to reinvent the wheel, some of Satellizer code has been reused where possible and adopted to React.
Before you start using component you should configure it, eg:
ReactDOM.render(
<Auth baseUrl="http://localhost:8080/api/">
<YourAwesomeComponents />
</Auth>,
document.getElementById('app')
);
More in docs, configuration section.
Here is simplest example of social buttons in use inside of your component reder() method.
render () {
return (
<div className="form-group">
<Facebook clientId="310178806023492" />
<Google clientId="389760969675-u3h2dgm1v3lqd22u8aloimkgd10i0rvf.apps.googleusercontent.com" />
</div>
)
}
You can run all tests with:
npm test
We run test coverage with nyc and [here][nyc-why] is why. [nyc-why]: http://stackoverflow.com/a/33725069/6096446)
You can run test coverage task locally with:
npm run test:coverage
It will:
./coverage folderAdditionally we use coveralls.io for coverage badge generation.
FAQs
JSON Web Token authentication and authorization component for React
The npm package react-jwt-auth receives a total of 21 weekly downloads. As such, react-jwt-auth popularity was classified as not popular.
We found that react-jwt-auth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.