{"id":13526829,"url":"https://github.com/oauthjs/node-oauth2-server","last_synced_at":"2025-05-12T13:16:01.816Z","repository":{"id":40433161,"uuid":"9367940","full_name":"oauthjs/node-oauth2-server","owner":"oauthjs","description":"Complete, compliant and well tested module for implementing an OAuth2 Server/Provider with express in node.js","archived":false,"fork":false,"pushed_at":"2023-08-11T19:20:06.000Z","size":1096,"stargazers_count":4055,"open_issues_count":190,"forks_count":930,"subscribers_count":120,"default_branch":"master","last_synced_at":"2025-05-12T13:15:49.432Z","etag":null,"topics":["oauth2-server"],"latest_commit_sha":null,"homepage":"https://npmjs.org/package/oauth2-server","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/oauthjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"github":"thomseddon"}},"created_at":"2013-04-11T10:39:52.000Z","updated_at":"2025-05-12T05:38:57.000Z","dependencies_parsed_at":"2023-02-19T13:10:15.489Z","dependency_job_id":"ef15f45f-d502-4357-a907-bc70455a7046","html_url":"https://github.com/oauthjs/node-oauth2-server","commit_stats":{"total_commits":371,"total_committers":54,"mean_commits":6.87037037037037,"dds":0.692722371967655,"last_synced_commit":"6d4c98794bc024a8cf93cf9e79f92f93766da9f4"},"previous_names":["nightworld/node-oauth2-server"],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oauthjs%2Fnode-oauth2-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oauthjs%2Fnode-oauth2-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oauthjs%2Fnode-oauth2-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oauthjs%2Fnode-oauth2-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oauthjs","download_url":"https://codeload.github.com/oauthjs/node-oauth2-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745196,"owners_count":21957319,"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":["oauth2-server"],"created_at":"2024-08-01T06:01:35.620Z","updated_at":"2025-05-12T13:16:00.935Z","avatar_url":"https://github.com/oauthjs.png","language":"JavaScript","readme":"\n# oauth2-server\n\n[![npm Version][npm-image]][npm-url]\n[![npm Downloads][downloads-image]][downloads-url]\n[![Test Status][travis-image]][travis-url]\n[![MIT Licensed][license-image]][license-url]\n[![oauthjs Slack][slack-image]][slack-url]\n\nComplete, compliant and well tested module for implementing an OAuth2 server in [Node.js](https://nodejs.org).\n\nNote: After a period of hiatus, this project is now back under active maintenance. Dependencies have been updated and bug fixes will land in v3 (current master). v4 will be _mostly backwards compatible_ with no code changes required for users using a supported node release. More details in [#621](https://github.com/oauthjs/node-oauth2-server/issues/621).\n\n## Installation\n\n```bash\nnpm install oauth2-server\n```\n\nThe *oauth2-server* module is framework-agnostic but there are several officially supported wrappers available for popular HTTP server frameworks such as [Express](https://npmjs.org/package/express-oauth-server) and [Koa](https://npmjs.org/package/koa-oauth-server). If you're using one of those frameworks it is strongly recommended to use the respective wrapper module instead of rolling your own.\n\n\n## Features\n\n- Supports `authorization_code`, `client_credentials`, `refresh_token` and `password` grant, as well as *extension grants*, with scopes.\n- Can be used with *promises*, *Node-style callbacks*, *ES6 generators* and *async*/*await* (using [Babel](https://babeljs.io)).\n- Fully [RFC 6749](https://tools.ietf.org/html/rfc6749.html) and [RFC 6750](https://tools.ietf.org/html/rfc6750.html) compliant.\n- Implicitly supports any form of storage, e.g. *PostgreSQL*, *MySQL*, *MongoDB*, *Redis*, etc.\n- Complete [test suite](https://github.com/oauthjs/node-oauth2-server/tree/master/test).\n\n\n## Documentation\n\n[Documentation](https://oauth2-server.readthedocs.io) is hosted on Read the Docs.\n\n\n## Examples\n\nMost users should refer to our [Express](https://github.com/oauthjs/express-oauth-server/tree/master/examples) or [Koa](https://github.com/oauthjs/koa-oauth-server/tree/master/examples) examples.\n\nMore examples can be found here: https://github.com/14gasher/oauth-example\n\n## Upgrading from 2.x\n\nThis module has been rewritten using a promise-based approach, introducing changes to the API and model specification. v2.x is no longer supported.\n\nPlease refer to our [3.0 migration guide](https://oauth2-server.readthedocs.io/en/latest/misc/migrating-v2-to-v3.html) for more information.\n\n\n## Tests\n\nTo run the test suite, install dependencies, then run `npm test`:\n\n```bash\nnpm install\nnpm test\n```\n\n\n[npm-image]: https://img.shields.io/npm/v/oauth2-server.svg\n[npm-url]: https://npmjs.org/package/oauth2-server\n[downloads-image]: https://img.shields.io/npm/dm/oauth2-server.svg\n[downloads-url]: https://npmjs.org/package/oauth2-server\n[travis-image]: https://img.shields.io/travis/oauthjs/node-oauth2-server/master.svg\n[travis-url]: https://travis-ci.org/oauthjs/node-oauth2-server\n[license-image]: https://img.shields.io/badge/license-MIT-blue.svg\n[license-url]: https://raw.githubusercontent.com/oauthjs/node-oauth2-server/master/LICENSE\n[slack-image]: https://slack.oauthjs.org/badge.svg\n[slack-url]: https://slack.oauthjs.org\n\n","funding_links":["https://github.com/sponsors/thomseddon"],"categories":["JavaScript","others","Back-End Development","Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foauthjs%2Fnode-oauth2-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foauthjs%2Fnode-oauth2-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foauthjs%2Fnode-oauth2-server/lists"}