{"id":13539988,"url":"https://github.com/tngan/samlify","last_synced_at":"2025-05-13T17:09:36.986Z","repository":{"id":36401095,"uuid":"40706011","full_name":"tngan/samlify","owner":"tngan","description":"Node.js library for SAML SSO","archived":false,"fork":false,"pushed_at":"2025-05-06T01:19:28.000Z","size":6011,"stargazers_count":625,"open_issues_count":89,"forks_count":227,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-05-12T17:14:02.730Z","etag":null,"topics":["auth0","expressjs","identity-provider","idp","javascript","nodejs","okta","onelogin","saml","saml2","samlify","service-provider","slo","sso","typescript"],"latest_commit_sha":null,"homepage":"https://samlify.js.org","language":"TypeScript","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/tngan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":["tngan"]}},"created_at":"2015-08-14T09:07:35.000Z","updated_at":"2025-05-12T09:03:01.000Z","dependencies_parsed_at":"2024-01-13T10:44:06.436Z","dependency_job_id":"5bc395c6-fd3e-4082-9678-dbd0aa96103c","html_url":"https://github.com/tngan/samlify","commit_stats":{"total_commits":437,"total_committers":69,"mean_commits":6.333333333333333,"dds":0.3249427917620137,"last_synced_commit":"7a04e81811dd5c869ced51329639e4be414c5e63"},"previous_names":["tngan/express-saml2"],"tags_count":84,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tngan%2Fsamlify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tngan%2Fsamlify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tngan%2Fsamlify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tngan%2Fsamlify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tngan","download_url":"https://codeload.github.com/tngan/samlify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253990468,"owners_count":21995774,"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":["auth0","expressjs","identity-provider","idp","javascript","nodejs","okta","onelogin","saml","saml2","samlify","service-provider","slo","sso","typescript"],"created_at":"2024-08-01T09:01:36.763Z","updated_at":"2025-05-13T17:09:36.949Z","avatar_url":"https://github.com/tngan.png","language":"TypeScript","readme":"# samlify \u0026middot;\n\n[![Build Status](https://img.shields.io/circleci/build/github/tngan/samlify?style=for-the-badge\u0026logo=circleci)](https://app.circleci.com/pipelines/github/tngan/samlify)\n[![npm version](https://img.shields.io/npm/v/samlify.svg?style=for-the-badge\u0026logo=npm)](https://www.npmjs.com/package/samlify)\n[![NPM](https://img.shields.io/npm/dm/samlify.svg?style=for-the-badge\u0026logo=npm)](https://www.npmjs.com/package/samlify)\n[![Coverage Status](https://img.shields.io/coveralls/tngan/samlify/master.svg?style=for-the-badge\u0026logo=coveralls)](https://coveralls.io/github/tngan/samlify?branch=master)\n\nHighly configuarable Node.js SAML 2.0 library for Single Sign On\n\n## Welcome PRs\n\nWelcome all PRs for maintaining this project, or provide a link to the repositories especially for use cases alongside with different frameworks.\n\n### Installation\n\nMultiple schema validators are currently supported by our system, with couple validator modules available and the option to create custom ones. It is essential to utilize the setSchemaValidator function at the outset to avoid errors.\n\n```js\nimport * as samlify from 'samlify';\nimport * as validator from '@authenio/samlify-xsd-schema-validator';\n// import * as validator from '@authenio/samlify-validate-with-xmllint';\n// import * as validator from '@authenio/samlify-node-xmllint';\n\nsamlify.setSchemaValidator(validator);\n```\n\nNow you can create your own schema validator and even suppress it but you have to take the risk for accepting malicious response.\n\n```typescript\nsamlify.setSchemaValidator({\n  validate: (response: string) =\u003e {\n    /* implment your own or always returns a resolved promise to skip */\n    return Promise.resolve('skipped');\n  }\n});\n```\n\nFor those using Windows, `windows-build-tools` should be installed globally before installing samlify if you are using `libxml` validator.\n\n```console\nyarn global add windows-build-tools\n```\n\n### Development\n\nThis project is now developed using TypeScript, also support Yarn which is a new package manager.\n\n```console\nyarn global add typescript\nyarn\n```\n\n### Get Started\n\n```javascript\nconst saml = require('samlify');\n```\n\nSee full documentation [here](https://samlify.js.org/)\n\n### Example\n\n[react-samlify](https://github.com/passify/react-samlify) SP example powered by React, TypeScript and Webpack\n\n### Talks\n\n[An introduction to Single Sign On](http://www.slideshare.net/TonyNgan/an-introduction-of-single-sign-on)\n\n### License\n\n[MIT](LICENSE)\n\n### Copyright\n\nCopyright (C) 2016-present Tony Ngan, released under the MIT License.\n","funding_links":["https://github.com/sponsors/tngan"],"categories":["TypeScript","typescript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftngan%2Fsamlify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftngan%2Fsamlify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftngan%2Fsamlify/lists"}