mohd7469 / oauth2orize-examples

Some oauth examples and implementation.
MIT License
230 stars 95 forks source link

fix invoke refresh_token error #33

Open LUN7 opened 3 years ago

LUN7 commented 3 years ago

fix invoke refresh_token result in "Cannot read property 'name' of undefined" error

mohd7469 commented 3 years ago

@LUN7 userId?

LUN7 commented 3 years ago

Yes. The token object only have two attributes, userId and clientId. Or there should be and id attribute?