{"id":15046781,"url":"https://github.com/auth0/node-saml","last_synced_at":"2025-04-12T15:38:13.876Z","repository":{"id":6142842,"uuid":"7371681","full_name":"auth0/node-saml","owner":"auth0","description":"SAML assertion creation for node","archived":false,"fork":false,"pushed_at":"2024-04-26T16:14:17.000Z","size":136,"stargazers_count":70,"open_issues_count":43,"forks_count":90,"subscribers_count":104,"default_branch":"master","last_synced_at":"2025-04-03T15:11:11.182Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/auth0.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":"2012-12-29T23:55:52.000Z","updated_at":"2024-11-13T23:44:09.000Z","dependencies_parsed_at":"2024-04-26T17:43:54.090Z","dependency_job_id":null,"html_url":"https://github.com/auth0/node-saml","commit_stats":{"total_commits":122,"total_committers":25,"mean_commits":4.88,"dds":0.7704918032786885,"last_synced_commit":"72364665cb30663aa531ed26a087d0fced7cf6af"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fnode-saml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fnode-saml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fnode-saml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fnode-saml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/auth0","download_url":"https://codeload.github.com/auth0/node-saml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590568,"owners_count":21129850,"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-09-24T20:53:34.293Z","updated_at":"2025-04-12T15:38:13.851Z","avatar_url":"https://github.com/auth0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-saml\n\nCreate SAML assertions. Supports SAML 1.1 and SAML 2.0 tokens.\n\n[![Build Status](https://travis-ci.org/auth0/node-saml.png)](https://travis-ci.org/auth0/node-saml)\n\n### Supported Node Versions\n\nnode \u003e= 12\n\n### Usage\n\n```js\nvar saml = require('saml').Saml20; // or Saml11\n\nvar options = {\n  cert: fs.readFileSync(__dirname + '/test-auth0.pem'),\n  key: fs.readFileSync(__dirname + '/test-auth0.key'),\n  issuer: 'urn:issuer',\n  lifetimeInSeconds: 600,\n  audiences: 'urn:myapp',\n  attributes: {\n    'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress': 'foo@bar.com',\n    'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name': 'Foo Bar'\n  },\n  nameIdentifier: 'foo',\n  sessionIndex: '_faed468a-15a0-4668-aed6-3d9c478cc8fa'\n};\n\nvar signedAssertion = saml.create(options);\n```\n\nEverything except the cert and key is optional.\n\n## Issue Reporting\n\nIf you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.\n\n## Author\n\n[Auth0](auth0.com)\n\n## License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0%2Fnode-saml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauth0%2Fnode-saml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0%2Fnode-saml/lists"}