Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@equisoft/oauth2orize-jwt-to-bearer
Advanced tools
JSON Web Token (JWT) Bearer Token Exchange Middleware for OAuth2orize.
JSON Web Token (JWT) Profile for OAuth 2.0 Authorization Grants Exchange Middleware for OAuth2orize
Deprecated See https://github.com/kronostechnologies/oauth2orize-bearer-to-bearer
$ yarn install oauth2orize-jwt-to-bearer
This exchange middleware is used to by clients to request an access token by using a JSON Web Token (JWT) generated by the client and verified by a Public Key stored on the OAuth 2.0 server. The exchange requires a verify callback, which accepts the client, scope and assertion(JWT), then calls done providing a access token.
var jwtBearer = require('oauth2orize-jwt-to-bearer').Exchange;
server.exchange('urn:ietf:params:oauth:grant-type:jwt-bearer', jwtBearer(function(client, scope, assertion, done) {
AccessToken.create(client, scope, function(err, accessToken) {
if (err) { return done(err); }
done(null, accessToken);
});
}));
$ yarn install --dev
$ yarn test
FAQs
JSON Web Token (JWT) Bearer Token Exchange Middleware for OAuth2orize.
We found that @equisoft/oauth2orize-jwt-to-bearer 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.