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

Feature:Access Token & Refresh Token #205

Open
Vinaysohaliya opened this issue Jul 1, 2024 · 1 comment
Open

Feature:Access Token & Refresh Token #205

Vinaysohaliya opened this issue Jul 1, 2024 · 1 comment
Assignees
Labels
good first issue Good for newcomers gssoc GSSOC'2024 GirlScript Summer of Code | Contributor level2

Comments

@Vinaysohaliya
Copy link

Vinaysohaliya commented Jul 1, 2024

Is your feature request related to a problem? Please describe.
i want to add access token and Refresh token because I'm was very frusted when web/app tell me login again and again

Describe the solution you'd like
I would like to implement a system that uses access tokens and refresh tokens to manage user authentication. The solution should:

=>Generate Access Tokens: Upon successful login, an access token should be issued with a short expiration time (e.g., 15 minutes).
=>Generate Refresh Tokens: Along with the access token, a refresh token should be issued with a longer expiration time (e.g., 7 days).
=>Automatic Token Refresh: The client application should automatically use the refresh token to obtain a new access token when the
current one expires, without requiring the user to log in again.
=>Secure Storage: Tokens should be securely stored in the client (e.g., HttpOnly cookies or secure storage mechanisms).
=>Token Revocation: Implement a mechanism to revoke refresh tokens upon user logout or other security events.

Describe alternatives you've considered
=>Persistent Login Sessions: Using long-lived access tokens. However, this increases the security risk if the token is compromised, as there is no mechanism to refresh or revoke the token easily.

Additional context
=>Problem to Solve: This feature aims to solve the problem of frequent user logouts, which can be frustrating and disruptive to the user experience.

kidly assign into me under GSSOC 24

Copy link

github-actions bot commented Jul 1, 2024

Congratulations, @Vinaysohaliya! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!

We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

@Sahil1786 Sahil1786 added good first issue Good for newcomers GSSOC'2024 GirlScript Summer of Code | Contributor gssoc level2 labels Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers gssoc GSSOC'2024 GirlScript Summer of Code | Contributor level2
Projects
None yet
Development

No branches or pull requests

2 participants