Skip to content

Full support "Authorization Code Grant" & Refresh Token#145

Merged
pi0 merged 4 commits intonuxt-community:devfrom
robsontenorio:dev
Apr 16, 2018
Merged

Full support "Authorization Code Grant" & Refresh Token#145
pi0 merged 4 commits intonuxt-community:devfrom
robsontenorio:dev

Conversation

@robsontenorio
Copy link
Contributor

@robsontenorio robsontenorio commented Apr 15, 2018

  • Fix url
  • Add missing parameters for "Authorization Code Grant" flow.
  • Automatically store the refresh_token, if it exists

@robsontenorio robsontenorio changed the title Full support "Authorization Code Grant" Full support "Authorization Code Grant" & Refresh Token Apr 15, 2018
@robsontenorio
Copy link
Contributor Author

@pi0 thanks for approval! Effectively when it will be merged?

@pi0 pi0 requested a review from breakingrobot April 16, 2018 04:43
@pi0
Copy link
Member

pi0 commented Apr 16, 2018

As this is a non breaking one will be shipped in next semver/minor release :) Thanks for yoyr help 🤗

Copy link
Contributor

@breakingrobot breakingrobot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small variable naming issue to me.

let token = parsedQuery[this.options.token_key || 'access_token']

// refresh token
let refresh_token = parsedQuery[this.options.refresh_token_key || 'refresh_token']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use camel casing instead of underscore casing?

@robsontenorio
Copy link
Contributor Author

@breakingrobot @pi0 done!

@pi0 pi0 merged commit 18ecca5 into nuxt-community:dev Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants