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

Why should we not be able to verify our uris by ourself. // TODO: Add to docs

enhancement
needswork

Let's assume that there is a valid client whose redirect url is 'https://github.com/oauth/callback'. When it request authorizition, it add some extra param to the url like 'https://github.com/oauth/callback?custom_param=something'. In this case,...

bug
unverified

So, I've been trying to make heads and tails of all of this and I'm a bit confused. Your documentation says that the returned object of model.getClient has an optional...

bug
unverified

Updated crypto hash to sha256

This PR is to prevent redirect_uri being saved using saveAuthorizationCode when its not directly requested, this is so that [AuthorizationCodeGrantType#validateRedirectUri](https://github.com/oauthjs/node-oauth2-server/blob/master/lib/grant-types/authorization-code-grant-type.js#L136) does not try to validate against the fallback of `client.redirectUris[0]`...

There are no commits to this repository anymore and I am asking if I should use this package in a newer project or not.

Use [http.STATUS_CODES](https://nodejs.org/dist/latest-v10.x/docs/api/http.html#http_http_status_codes) instead.

For oauth2server model, the request context of express fail to pass in to the model function. I have seen there has been branch created for this bug here https://github.com/diegosucaria/node-oauth2-server, which...

We should be able to remove Bluebird as a dependency in favor of standard ES6 Promises.

Just use [`util.promisify`](https://nodejs.org/dist/latest-v10.x/docs/api/util.html#util_util_promisify_original)