{"id":28839433,"url":"https://github.com/coldbox-modules/cbsecurity-passkeys","last_synced_at":"2025-08-01T16:35:15.981Z","repository":{"id":239997269,"uuid":"801220024","full_name":"coldbox-modules/cbsecurity-passkeys","owner":"coldbox-modules","description":"Passkey support for cbSecurity and ColdBox applications","archived":false,"fork":false,"pushed_at":"2025-05-01T16:32:39.000Z","size":278,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-19T14:53:03.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ColdFusion","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/coldbox-modules.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-05-15T20:18:21.000Z","updated_at":"2025-05-01T16:32:42.000Z","dependencies_parsed_at":"2024-05-16T07:32:47.202Z","dependency_job_id":"aa5b1c1b-0c7b-4309-bbe2-9cb404ddf0bb","html_url":"https://github.com/coldbox-modules/cbsecurity-passkeys","commit_stats":null,"previous_names":["coldbox-modules/cbsecurity-passkeys"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/coldbox-modules/cbsecurity-passkeys","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldbox-modules%2Fcbsecurity-passkeys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldbox-modules%2Fcbsecurity-passkeys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldbox-modules%2Fcbsecurity-passkeys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldbox-modules%2Fcbsecurity-passkeys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coldbox-modules","download_url":"https://codeload.github.com/coldbox-modules/cbsecurity-passkeys/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldbox-modules%2Fcbsecurity-passkeys/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268261252,"owners_count":24221935,"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-08-01T02:00:08.611Z","response_time":67,"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":[],"created_at":"2025-06-19T14:41:07.708Z","updated_at":"2025-08-01T16:35:15.969Z","avatar_url":"https://github.com/coldbox-modules.png","language":"ColdFusion","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CBSecurity Passkeys\n\n## Requirements\n- ColdBox 6+\n- cbSecurity 3+\n\n## Installation\n\n1. Install CBSecurity Passkeys\n`box install cbsecurity-passkeys`\n\n2. Add Java libs from cbsecurity-passkeys\n```js\nthis.javaSettings = {\n    loadPaths : [ \"./modules/cbsecurity-passkeys/lib\" ],\n    loadColdFusionClassPath : true,\n    reloadOnChange : true\n};\n```\n\n3. Implement the `ICredentialRepository` interface. (See an example in `/resources/examples/quick/Passkey.cfc`)\n\n4. Configure your `credentialRepositoryMapping` in `config/ColdBox.cfc`\n```js\nmoduleSettings = {\n    \"cbsecurity-passkeys\": {\n        \"credentialRepositoryMapping\": \"Passkey\"\n    }\n}\n```\n\n5. Configure at least one (1) `allowedOrigins`\n```js\nmoduleSettings = {\n    \"cbsecurity-passkeys\": {\n        \"credentialRepositoryMapping\": \"Passkey\",\n        \"allowedOrigins\": [ \"example.com\" ]\n    }\n}\n```\n\nIntegrate using the `includes/passkeys.js` library:\n\n```html\n\u003cscript src=\"/modules/cbsecurity-passkeys/includes/passkeys.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"module\"\u003e\n    if ( await window.cbSecurity.passkeys.isSupported() ) {\n        await window.cbSecurity.passkeys.register(\n            // redirectLocation (\"/\")\n        );\n    }\n\u003c/script\u003e\n\u003cscript type=\"module\"\u003e\n    if ( await window.cbSecurity.passkeys.isSupported() ) {\n        await window.cbSecurity.passkeys.login(\n            // username (optional)\n            // redirectLocation (\"/\")\n            // additionalParams ({})\n        )\n    }\n\u003c/script\u003e\n\u003cscript\u003e\n    window.cbSecurity.passkeys.autocomplete(\n        // redirectLocation (\"/\")\n        // additionalParams ({})\n    );\n\u003c/script\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldbox-modules%2Fcbsecurity-passkeys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoldbox-modules%2Fcbsecurity-passkeys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldbox-modules%2Fcbsecurity-passkeys/lists"}