node-oauth2-server icon indicating copy to clipboard operation
node-oauth2-server copied to clipboard

Complete, compliant and well tested module for implementing an OAuth2 Server/Provider with express in node.js

Results 112 node-oauth2-server issues
Sort by recently updated
recently updated
newest added

Per https://github.com/oauthjs/node-oauth2-server/pull/629#issuecomment-650564756 > As per https://tools.ietf.org/html/rfc6749#section-4.1.1 the scope is a required parameter for the authorisation request (which #451 fixes), and is not actually defined for the access token request (which...

bug

Version: `v3 (3.0.1)` Calling `.authenticate()` which triggers (at least): - getAccessToken() Let's say the above fn successfully returns the object (fields: `accessToken, accessTokenExpiresAt, client, user, scope`) ``` static async getAccessToken...

bug
unverified

It's been almost a year now since last v3 was released from master. Quite few things have been fixed and others added since then. I've been installing from `#dev` branch...

The docs say that `getRefreshToken()` and `getAuthCode` should return a string or number `clientId` but if you return a number it errors out, because it compares strictly with the string...

bug

This would also replace the `continueAfterResponse`

enhancement
needs PR

This was already solved in PR #563 and Issue #550 Just forgotten in TS version.

`revokeToken` wil not be called if server option `alwaysIssueNewRefreshToken` is `false`.

I created a wrapper for Hapijs as well, maybe it can be useful for people using it instead of starting from the scratches every time, like what has been done...