
Company News
Socket Has Acquired Secure Annex
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.
solid-auth-tls
Advanced tools
JS client authentication library for Solid
browser-based clients. Used inside
solid-client.
The solid-auth-tls client can be used from Node as well as browser processes.
const auth = require('solid-auth-tls')
auth.login({ key: 'path/to/tls-key.pem', cert: 'path/to/tls-cert.pem' })
.then(webId => /* ... */)
.catch(err => /* ... */)
A UMD bundle is provided so that you can do the following (after including the
bundle via an HTML <script> tag):
SolidAuthTLS.login() // the browser automatically provides the client key/cert for you
.then(webId => /* ... */)
.catch(err => /* ... */)
You can also use a module bundler such as webpack and require the module like in
the node example. When using webpack you need to include the following
plugin(s) in order to keep webpack from trying to resolve node modules such as
fs and https. Add this to your webpack.config.js:
const webpack = require('webpack')
module.exports = {
// ...
plugins: [
new webpack.DefinePlugin({ 'global.IS_BROWSER': true })
new webpack.optimize.UglifyJsPlugin(/* ... */)
]
}
This makes sure that code paths that require node modules (for use within node)
become dead code and get removed by the UglifyJsPlugin's dead code eliminator.
FAQs
Authentication library for Solid browser-based clients
The npm package solid-auth-tls receives a total of 58 weekly downloads. As such, solid-auth-tls popularity was classified as not popular.
We found that solid-auth-tls demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.

Product
Reachability analysis for PHP is now available in experimental, helping teams identify which vulnerabilities are actually exploitable.