Skip to content

Commit

Permalink
fix(oauth2: scheme): fix backward compatibility with refresh_token_key
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoPedroAS51 authored and pi0 committed Mar 15, 2020
1 parent 265b1bf commit 3c541bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/schemes/oauth2.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class Oauth2Scheme {
this.options = defu(options, DEFAULTS)
this.options.token.property = this.options.token_key || this.options.token.property
this.options.token.type = this.options.token_type || this.options.token.type
this.options.refreshToken.property = this.options.refresh_token_key || this.options.refresh_token.property
this.options.refreshToken.property = this.options.refresh_token_key || this.options.refreshToken.property
}

get _scope () {
Expand Down

0 comments on commit 3c541bd

Please sign in to comment.