Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Apr 16, 2018
Merged

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

merged 4 commits into from
Apr 16, 2018

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.

@@ -91,19 +91,30 @@ export default class Oauth2Scheme {
// accessToken/idToken
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