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

Built-in auto token refresh #148

Closed
robsontenorio opened this issue Apr 16, 2018 · 17 comments
Closed

Built-in auto token refresh #148

robsontenorio opened this issue Apr 16, 2018 · 17 comments

Comments

@robsontenorio
Copy link
Contributor

What problem does this feature solve?

Automatically refresh the "token" if it expires, because some Oauth providers has a short token TTL.

What does the proposed changes look like?

Once #145 has been accepted, I will propose a PR to auto refresh the "token" if it has been expired.

@pi0 @breakingrobot where place it? Maybe lib/core/auth.js?

mounted () {
    // handle token expiration        
    if (this.strategy.options.auto_refresh_token === true) {
      this.watchTokenExpiration()
    }
}
This feature request is available on Nuxt.js community (#c109)
@ghost ghost added the cmty:feature-request label Apr 16, 2018
@jonasgrosch
Copy link

@robsontenorio Really looking forward to this. Any idea when you'll have time for the PR?

@robsontenorio
Copy link
Contributor Author

Just waiting another PR be merged.

@robsontenorio
Copy link
Contributor Author

Done! PR sent.

#188

@sobolevn
Copy link
Contributor

@robsontenorio any progress on the issue? I am trying to solve the same problem.

@robsontenorio
Copy link
Contributor Author

It seem was not well received. Just waiting a response.

@abondarenko
Copy link

Any news on this?

@robsontenorio
Copy link
Contributor Author

There was some tries in the past, but mantainers does not reviewed it. The code base from PRs is deprecated now.

@niklasravnsborg
Copy link

What is the current approach of most people to solve this? I also need this functionality.

@kvanska
Copy link

kvanska commented Feb 5, 2019

we're using this workaround for now. #208 (comment).

would like to know if this project is moving forward anymore? there is some pull requests merged but for some reason there's no releases since a while.

@lokanathchandrareddy
Copy link

Any update on this this issue ?

@truesteps
Copy link

Any news?

@hugazo
Copy link

hugazo commented Jun 21, 2019

Nothing?

@geoffreylzf
Copy link

Any update for the refresh token support?

@gillescoolen
Copy link

Anything?

@JoaoPedroAS51
Copy link
Collaborator

Hey there! We are working on refresh support! For now you can use the new branch (feat/refresh)

Docs and more details can be found at #361

@pl-ekleft
Copy link

Hey there! We are working on refresh support! For now you can use the new branch (feat/refresh)

Docs and more details can be found at #361

Is this functionality available in the master branch?

@bmulholland
Copy link
Contributor

No, sorry, this is only available in the auth-next branch. If you need this feature, you should upgrade. See the status page for more details. Closing this issue since it's available now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests