{"id":20705969,"url":"https://github.com/michalzagrodzki/node-azure-auth","last_synced_at":"2026-04-13T00:16:54.044Z","repository":{"id":42277582,"uuid":"257613792","full_name":"michalzagrodzki/Node-Azure-Auth","owner":"michalzagrodzki","description":"Project showing how authentication with Azure Active Directory is done through node.js server","archived":false,"fork":false,"pushed_at":"2022-12-11T02:46:01.000Z","size":724,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T05:16:49.220Z","etag":null,"topics":["azure","azure-active-directory","azuread-b2b","express-session","expressjs","https-server","microsoft-graph-client","nodejs","nodejs-api","passport","passport-azure-ad"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michalzagrodzki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-21T13:59:54.000Z","updated_at":"2020-05-01T13:34:03.000Z","dependencies_parsed_at":"2023-01-26T14:31:08.369Z","dependency_job_id":null,"html_url":"https://github.com/michalzagrodzki/Node-Azure-Auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/michalzagrodzki/Node-Azure-Auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalzagrodzki%2FNode-Azure-Auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalzagrodzki%2FNode-Azure-Auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalzagrodzki%2FNode-Azure-Auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalzagrodzki%2FNode-Azure-Auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michalzagrodzki","download_url":"https://codeload.github.com/michalzagrodzki/Node-Azure-Auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalzagrodzki%2FNode-Azure-Auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27681986,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azure-active-directory","azuread-b2b","express-session","expressjs","https-server","microsoft-graph-client","nodejs","nodejs-api","passport","passport-azure-ad"],"created_at":"2024-11-17T01:20:38.787Z","updated_at":"2025-12-12T11:28:42.781Z","avatar_url":"https://github.com/michalzagrodzki.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Server app for authenticating with Azure AD\nThis project aims for creating solution for server app, that can authenticate users.\nAuthenticating is done through Azure Active Directory\n\nAuthentication of users is done in following patterns:\n- Active Directory is setup as B2B - collaboration between organizations. Users which are registered or invited from Active Directory level can login to app.\n- Authentication is done on server level\n- Client receives access token and refresh token\n- Logged in users are stored in local memory session\n\nThis project uses [Vue-Azure-Auth-Client](https://github.com/michalzagrodzki/Vue-Azure-Auth-Client) project as client application.\n\n## Project setup\n```\nnpm install\n```\n\n### Create key and certificate for https\nKey needs to be at least 1024 bits long. Otherwise it will throw error.\n```\nopenssl genrsa -out key.pem 1024\nopenssl req -new -key key.pem -out csr.pem\nopenssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem\nrm csr.pem\n```\n\n### Development server\n```\nnpm run serve\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichalzagrodzki%2Fnode-azure-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichalzagrodzki%2Fnode-azure-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichalzagrodzki%2Fnode-azure-auth/lists"}