{"id":21450933,"url":"https://github.com/soontao/cds-common-jwt-support","last_synced_at":"2025-07-14T21:32:35.770Z","repository":{"id":38424553,"uuid":"461775829","full_name":"Soontao/cds-common-jwt-support","owner":"Soontao","description":"support jwt without xsuaa ans xssec, and give user much more features with jose","archived":false,"fork":false,"pushed_at":"2024-11-19T13:38:16.000Z","size":1399,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-19T14:44:23.059Z","etag":null,"topics":["cap","cds","sap"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Soontao.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2022-02-21T08:48:14.000Z","updated_at":"2024-11-19T13:38:20.000Z","dependencies_parsed_at":"2023-02-08T06:30:27.190Z","dependency_job_id":"23ed7fe4-2383-460e-b5e3-3e3571139b12","html_url":"https://github.com/Soontao/cds-common-jwt-support","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"Soontao/cds-feature-toggle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soontao%2Fcds-common-jwt-support","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soontao%2Fcds-common-jwt-support/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soontao%2Fcds-common-jwt-support/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soontao%2Fcds-common-jwt-support/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Soontao","download_url":"https://codeload.github.com/Soontao/cds-common-jwt-support/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225998797,"owners_count":17557473,"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":["cap","cds","sap"],"created_at":"2024-11-23T04:17:14.583Z","updated_at":"2024-11-23T04:17:15.211Z","avatar_url":"https://github.com/Soontao.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cds common jwt support\n\n\u003e support `jwt` without xsuaa ans xssec, and give user much more features with [`jose`](https://github.com/panva/jose)\n\n[![node-test](https://github.com/Soontao/cds-common-jwt-support/actions/workflows/nodejs.yml/badge.svg)](https://github.com/Soontao/cds-common-jwt-support/actions/workflows/nodejs.yml)\n[![codecov](https://codecov.io/gh/Soontao/cds-common-jwt-support/branch/main/graph/badge.svg?token=LKyd87mOZw)](https://codecov.io/gh/Soontao/cds-common-jwt-support)\n[![npm](https://img.shields.io/npm/v/cds-common-jwt-support)](https://www.npmjs.com/package/cds-common-jwt-support)\n\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Soontao_cds-common-jwt-support\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Soontao_cds-common-jwt-support)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=Soontao_cds-common-jwt-support\u0026metric=security_rating)](https://sonarcloud.io/summary/new_code?id=Soontao_cds-common-jwt-support)\n[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=Soontao_cds-common-jwt-support\u0026metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=Soontao_cds-common-jwt-support)\n\n\n## Get Started\n\n\u003e simply integrate the `cds-common-jwt-support` to you CAP nodejs project\n\n\n```bash\nnpm i -S cds-common-jwt-support jose\n```\n\n`package.json`\n\n```json\n{\n  \"requires\": {\n    \"auth\": {\n      \"kind\": \"common-jwt\",\n      \"credentials\": {\n        \"alg\": \"RS256\",\n        \"public\": {\n          \"spki\": \"-----BEGIN PUBLIC KEY-----......\",\n          \"x509\": \"X509 format public key\",\n          \"pkcs8\": \"PKCS8 format public key\",\n        }\n      }\n    },\n    \"kinds\": {\n      \"common-jwt\": {\n        \"impl\": \"cds-common-jwt-support\"\n      }\n    }\n  }\n}\n```\n\n## [CHANGELOG](./CHANGELOG.md)\n\n## [LICENSE](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoontao%2Fcds-common-jwt-support","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoontao%2Fcds-common-jwt-support","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoontao%2Fcds-common-jwt-support/lists"}