{"id":27954441,"url":"https://github.com/ebu/cpa-service-provider","last_synced_at":"2025-05-07T17:29:34.190Z","repository":{"id":13191180,"uuid":"15874793","full_name":"ebu/cpa-service-provider","owner":"ebu","description":"Reference implementation of an ETSI 103 407: Cross Platform Authentication Service Provider","archived":false,"fork":false,"pushed_at":"2016-04-15T14:26:20.000Z","size":368,"stargazers_count":3,"open_issues_count":5,"forks_count":4,"subscribers_count":20,"default_branch":"develop","last_synced_at":"2024-04-15T09:10:12.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://tech.ebu.ch/cpa","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ebu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-13T16:52:29.000Z","updated_at":"2020-10-25T17:50:30.000Z","dependencies_parsed_at":"2022-08-25T17:03:19.979Z","dependency_job_id":null,"html_url":"https://github.com/ebu/cpa-service-provider","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebu%2Fcpa-service-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebu%2Fcpa-service-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebu%2Fcpa-service-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebu%2Fcpa-service-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebu","download_url":"https://codeload.github.com/ebu/cpa-service-provider/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252926210,"owners_count":21826266,"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":"2025-05-07T17:29:33.286Z","updated_at":"2025-05-07T17:29:34.163Z","avatar_url":"https://github.com/ebu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cross-Platform Authentication - Service Provider\n\nThis project contains a reference implementation of the Cross-Platform\nAuthentication Service Provider.\n\nThis software implements version 1.0 of the Cross-Platform Authentication Protocol ([ETSI TS 103 407](https://portal.etsi.org/webapp/WorkProgram/Report_WorkItem.asp?WKI_ID=47970)).\n\nMore information on the [EBU Cross-Platform Authentication project](http://tech.ebu.ch/cpa)\n\n## Prerequisites\n\nEnsure your system has [Node.js](http://nodejs.org/) (v0.10 or later) and NPM installed.\n\n## Getting started\n\n    $ git clone https://github.com/ebu/cpa-service-provider.git\n    $ cd cpa-service-provider\n    $ npm install\n\n## Run the tests\n\n    $ mkdir data\n    $ NODE_ENV=test bin/init-db\n\n    $ npm test\n\n## Configure\n\nThe server reads configuration settings from the file `config.local.js`.\nAn example config for reference is in `config.dist.js`.\n\n    $ cp config.dist.js config.local.js\n\nEdit `config.local.js` to set the necessary configuration options:\n\n* Database connection settings\n* Authorization Provider server URL and access token\n* Service provider domain name\n\n## Initialise the database\n\n    $ NODE_ENV=development bin/init-db\n\n## Start the server\n\n    $ bin/server\n\nSpecify `--help` to see available command-line options:\n\n    $ bin/server --help\n\n## Development\n\nThis project includes a `Makefile` that is used to run various tasks during\ndevelopment. This includes JSHint, for code verification, Istanbul for test\ncoverage, and JSDoc for documentation.\n\nAs general-purpose tools, these should be installed globally:\n\n    $ sudo npm install -g jshint istanbul jsdoc\n\nTo verify the code using JSHint and run the unit tests:\n\n    $ make\n\nTo verify the code using JSHint:\n\n    $ make lint\n\nTo run the unit tests:\n\n    $ make test\n\nTo generate a test coverage report (in the `coverage` directory);\n\n    $ make coverage\n\n## Related projects\n\n* [Tutorial](https://github.com/ebu/cpa-tutorial)\n* [Authentication Provider](https://github.com/ebu/cpa-auth-provider)\n* [Android Client](https://github.com/ebu/cpa-android)\n* [iOS Client](https://github.com/ebu/cpa-ios)\n* [JavaScript Client](https://github.com/ebu/cpa.js)\n\n## Contributors\n\n* [Chris Needham](https://github.com/chrisn) (BBC)\n* [Michael Barroco](https://github.com/barroco) (EBU)\n* [Andy Buckingham](https://github.com/andybee) (Togglebit)\n\n## Copyright \u0026 license\n\nCopyright (c) 2014-2016, EBU-UER Technology \u0026 Innovation\n\nThe code is under BSD (3-Clause) License. (see LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febu%2Fcpa-service-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febu%2Fcpa-service-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febu%2Fcpa-service-provider/lists"}