
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
@asymmetrik/crowd-authenticator
Advanced tools
Authenticator for creating sessions with Atlassian Crowd. The authenticator wraps the logic necessary to sync Crowd with an external authentication system.
Include this module as a dependency of your application in the package.json file. For example:
{
...
dependencies: {
"@asymmetrik/crowd-authenticator": "latest"
}
...
}
Include the module via require wherever applicable:
let CrowdAuthenticator = require('@asymmetrik/crowd-authenticator');
let CrowdClient = require('atlassian-crowd-client');
// Create the crowd client
let crowdClient = new CrowdClient({
baseUrl: 'http://localhost:8095/crowd/',
application: {
name: 'crowd-authenticator',
password: 'password'
}
});
// Create a custom config
let config = {
passwordStrategy: () => { return Promise.resolve('password'); },
groupPrefix: 'prefix:',
defaultGroups: [ 'jira-user', 'confluence-user' ]
};
// Create the authenticator instance
let crowdAuthenticator = CrowdAuthenticator(crowdClient, config);
let userInfo = {
firstname: 'Test',
lastname: 'User',
displayname: 'Test User',
email: 'test@email.com',
username: authId,
groups: [ 'one', 'two' ]
};
// Authenticate
crowdAuthenticator.authenticate(userInfo)
.then((session) => {
// session contains token and expiration information
// at this point, crowd will contain the defaultGroups plus all groups on the userInfo
);
See above Usage example.
PRs accepted.
See LICENSE for details
FAQs
Pluggable Crowd authenticator
We found that @asymmetrik/crowd-authenticator 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.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

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.