
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
adal-express
Advanced tools
Active Directory Authentication Library (ADAL) for Express
const adal = require('adal-express');
...
adal(app, options);
options = {
serverPortNumber: 443,
azureTenantId: 'my-company.com',
azureClientId: "8b3ecd7f-d585-4d36-94c9-3ac1d60992fd",
azureClientSecret: "etTGallILSzAjePe4gw8v9RSb22tJASS3GnKlDw31R4=",
azureResourceUri: "https://my-backend-api.my-company.com",
localApiPath: "/api",
remoteApiUri: "https://my-backend-api.my-company.com/api",
sessionCookieName: "my-app.sid",
sessionCookieSecret: "ac0ac8d3c699538ffe0994544d318f8cf8f7d7e0",
sessionCookieSecure: true,
sessionExpiresSeconds: 864000,
sessionStorageDirectory: "sessions"
};
Issue a GET request to /.auth/login. You must provide the post_login_redirect_uri
query parameter and this must be an absolute URI.
Issue a GET request to /.auth/logout. You must provide the post_logout_redirect_uri
query parameter and this must be an absolute URI.
FAQs
Active Directory Authentication Library (ADAL) for Express
The npm package adal-express receives a total of 1 weekly downloads. As such, adal-express popularity was classified as not popular.
We found that adal-express 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.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.