pereslava

Results 8 comments of pereslava

I did it with scope parameter ( it passed to generateAccessToken ) Agree that scope have different thing but for now there is only one way to pass additional parameters...

@sm2017 , I'm sorry to tell that scope request parameter not passed to generateAccessToken on refresh_token grant type. For this case, i think saving the ip for token in DB...

Nooo way, it just not working with the current flow. To get additional claims to be embedded to the generated access token is just not possible with the current flow....

I found the reason why the scope not passed to generateAccessToken on 'refresh_token' grant_type. In [refresh-token-grant-type.js](https://github.com/oauthjs/node-oauth2-server/blob/4090055df44d5e199c816e298c685b78e86c5b85/lib/grant-types/refresh-token-grant-type.js#L72) change `return this.saveToken(token.user, client, token.scope);` to return `this.saveToken(token.user, client, request.body.scope);` solved the problem. It...

created a pull request: #540 for temporary working solution: ` npm i https://github.com/Doom100500/node-oauth2-server.git `

Sorry for delay... I followed the link in the main page of repository, which forwards me to npm of node-oauth2-server. In other hand, i tried to use the express wrapper,...

Hello the great team! Once i got back to the oauth implementation and i want to explain my confusion. Once i decided to to expose my server with express, i...

Hello! I've written some interceptors for my own use. It independent from go-grpc-miggleware, and it gives possibility to advance it without PRs to go-grpc-middleware, but together with it cannot use...