{"id":19665971,"url":"https://github.com/microsoftedge/webauthnsample","last_synced_at":"2025-10-08T23:42:47.400Z","repository":{"id":51954838,"uuid":"141342067","full_name":"MicrosoftEdge/webauthnsample","owner":"MicrosoftEdge","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-18T22:56:37.000Z","size":282,"stargazers_count":86,"open_issues_count":19,"forks_count":27,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-05T11:34:17.262Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MicrosoftEdge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-17T20:48:50.000Z","updated_at":"2025-04-03T15:01:53.000Z","dependencies_parsed_at":"2024-11-11T16:37:15.184Z","dependency_job_id":null,"html_url":"https://github.com/MicrosoftEdge/webauthnsample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicrosoftEdge%2Fwebauthnsample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicrosoftEdge%2Fwebauthnsample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicrosoftEdge%2Fwebauthnsample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicrosoftEdge%2Fwebauthnsample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MicrosoftEdge","download_url":"https://codeload.github.com/MicrosoftEdge/webauthnsample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251397613,"owners_count":21583042,"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","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":[],"created_at":"2024-11-11T16:25:42.631Z","updated_at":"2025-10-08T23:42:42.364Z","avatar_url":"https://github.com/MicrosoftEdge.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About this sample app\n\nThis is a simple NodeJS app that demonstrates the Web Authentication APIs.\n\nYou can see a live version at https://webauthnsample.azurewebsites.net\n\n## Deploying a local instance\n\n1. Download and install [NodeJS 8.9 or newer](https://nodejs.org/en/)\n2. Download and install [VS Code](https://code.visualstudio.com/)\n3. Download and install [MongoDB Community](https://www.mongodb.com/download-center#community)\n4. Clone this repository\n5. Open this repository in VS Code\n6. Run npm install in the root directory\n7. Launch program - configurations should already be set\n8. In Edge, navigate to localhost:3000\n\n## Deploying to Azure\n\nFirst, in Azure Portal:\n\n- Create an app services web instance\n- Create a Cosmos DB instance with API set to mongodb\n\nBefore deploying, you'll need to define the following environment variables inside app services application settings so they can be accessed by this NodeJS app at runtime:\n\n- MONGODB_URL - connection URL to your mongodb. Get it from Cosmos DB settings. Pick the latest Node.js 3.0 connection string under Quick Start.\n- JWT_SECRET - some long random string\n- HOSTNAME - hostname of your deployed service (e.g. \"webauthnsample.azurewebsites.net\")\n- ENFORCE_SSL_AZURE - set to \"true\"\n- WEBSITE_NODE_DEFAULT_VERSION - set to \"8.9.4\" or newer\n\n## Code of Conduct\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoftedge%2Fwebauthnsample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosoftedge%2Fwebauthnsample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoftedge%2Fwebauthnsample/lists"}