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

Support for Custom JWT Keys in Identity for Stateless Authentication #60302

Open
1 task done
patotoMaried opened this issue Feb 10, 2025 · 0 comments
Open
1 task done

Comments

@patotoMaried
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

Description :

Currently, ASP.NET Identity does not provide a straightforward way to use custom JWT (JSON Web Token) keys. This limitation poses a challenge for developers who wish to implement stateless authentication, where the server does not store session information and relies solely on the token for authentication and authorization.

Problem:

  1. Lack of Customization: Developers cannot easily integrate their own JWT keys, which is essential for securing tokens and ensuring they are tamper-proof.
  2. Stateless Authentication: Without the ability to use custom JWT keys, implementing stateless authentication becomes cumbersome. Stateless authentication is beneficial for scalability and performance, as it reduces the need for server-side session management.

Describe the solution you'd like

Add settings in the configuration file (appsettings or .env or other custom)

Additional context

No response

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

1 participant