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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token auth flow. Refresh token ideas? #455

Closed
fallenmanrisesup opened this issue Feb 12, 2023 · 5 comments
Closed

Token auth flow. Refresh token ideas? #455

fallenmanrisesup opened this issue Feb 12, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@fallenmanrisesup
Copy link

No description provided.

@Tony133
Copy link
Owner

Tony133 commented Feb 19, 2023

Hi @dailydismay,

Sorry for the late reply, it's been a busy few weeks, however I will also be adding the refresh token feature soon.

@Tony133 Tony133 added the enhancement New feature or request label Feb 19, 2023
@fallenmanrisesup
Copy link
Author

@Tony133

What about storing refresh token binded to concrete device. Any ideas on unique identifiers for devices?

@fallenmanrisesup
Copy link
Author

I can contribute if u want

@Tony133
Copy link
Owner

Tony133 commented Mar 12, 2023

Hi @dailydismay, sorry for the late reply, 馃檹馃徎

I created a branch to add the update token, I would also like to add the control to invalidate the token, although there are many ways to do it, I am considering to do it via redis, however if you need the update token part, use this branch feat/add-refresh-token after cloning the repository.

As far as unique device identifiers, at the moment I have not yet had the opportunity to do this, in the projects I've been a part of, the authentication part was only required a jwt token without an update token or a basic auth token.

I have created this boilerplate for the NestJS community, hoping it will be useful to those who use NestJS, so the developer has a base from which to meet their needs.

I hope I have been of help.

@Tony133
Copy link
Owner

Tony133 commented May 18, 2023

We keep track of this here: #532

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants