{"id":19163268,"url":"https://github.com/oada/oauth-dyn-reg-js","last_synced_at":"2026-06-15T02:34:46.241Z","repository":{"id":29413204,"uuid":"32948722","full_name":"OADA/oauth-dyn-reg-js","owner":"OADA","description":"Implementation of draft OAuth 2.0 Dynamic Client Registration Protocol","archived":false,"fork":false,"pushed_at":"2023-06-20T17:37:24.000Z","size":2742,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-03T21:43:29.753Z","etag":null,"topics":["oauth-dyn-reg","oauth2"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OADA.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-03-26T19:54:26.000Z","updated_at":"2022-04-01T00:15:06.000Z","dependencies_parsed_at":"2025-01-03T21:43:07.307Z","dependency_job_id":"f118e5e5-4b93-423f-94ad-c71073305ed0","html_url":"https://github.com/OADA/oauth-dyn-reg-js","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":0.09090909090909094,"last_synced_commit":"143c91a77a1f1f43e2ea29fcc1c144a32e020abc"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OADA%2Foauth-dyn-reg-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OADA%2Foauth-dyn-reg-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OADA%2Foauth-dyn-reg-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OADA%2Foauth-dyn-reg-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OADA","download_url":"https://codeload.github.com/OADA/oauth-dyn-reg-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240245887,"owners_count":19771029,"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":["oauth-dyn-reg","oauth2"],"created_at":"2024-11-09T09:14:41.317Z","updated_at":"2026-06-15T02:34:46.215Z","avatar_url":"https://github.com/OADA.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oauth-dyn-reg\n\n[![npm](https://img.shields.io/npm/v/oauth-dyn-reg)](https://www.npmjs.com/package/oauth-dyn-reg)\n[![Downloads/week](https://img.shields.io/npm/dw/oauth-dyn-reg.svg)](https://npmjs.org/package/oauth-dyn-reg)\n[![Coverage Status](https://coveralls.io/repos/OADA/oauth-dyn-reg-js/badge.svg?branch=master)](https://coveralls.io/r/OADA/oauth-dyn-reg-js?branch=master)\n[![Dependency Status](https://david-dm.org/oada/oauth-dyn-reg.svg)](https://david-dm.org/oada/oauth-dyn-reg)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![License](https://img.shields.io/github/license/OADA/oauth-dyn-reg-js)](LICENSE)\n\nThis is an implementation of the\n[draft OAuth 2.0 Dynamic Client Registration Protocol][rfc].\n\n## Installation\n\n```shell\nyarn add oauth-dyn-reg\n```\n\n## Usage\n\n```typescript\nimport register from 'oauth-dyn-reg';\n\nconst metadata = { /* See RFC section 2 for what goes here */ };\nconst registrationEndpoint = /* See RFC section 3 */;\n\n// resp contains your client's registered metadata\nconst resp = await register(metadata, registrationEndpoint);\n// !!!: resp may differ from metadata, the server MAY change values\n```\n\nAn [OAuth 2.0 token][token] maybe optionally be given as a third parameter.\n\n## References\n\n1. [OAuth 2.0 Dynamic Client Registration Protocol][rfc]\n1. [OAuth 2.0 Authorization Framework][token]\n\n[rfc]: https://datatracker.ietf.org/doc/html/rfc7591 'OAuth 2.0 Dynamic Client Registration Protocol'\n[token]: http://tools.ietf.org/html/rfc6749#section-1.4 'OAuth 2.0 Tokens'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foada%2Foauth-dyn-reg-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foada%2Foauth-dyn-reg-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foada%2Foauth-dyn-reg-js/lists"}