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

Add Cookie on Successful Login #13

Open
akshayrrao-Sclera opened this issue Sep 14, 2023 · 0 comments
Open

Add Cookie on Successful Login #13

akshayrrao-Sclera opened this issue Sep 14, 2023 · 0 comments

Comments

@akshayrrao-Sclera
Copy link

I have been working on enhancing our authentication process, specifically focusing on setting up user sessions upon successful login.
I want to add HTTP-ONLY , SAME-SITE based cookie which i will be using sessions.
However, I am seeking guidance on the most appropriate location within your code to handle the creation of session cookies, within the "CustomAuthenticationSuccessHandler" class ? or should i add in Handle in diffrent class? Basically when i give token to Front-End i want to set cookie also.

The objective is to ensure that user sessions are initiated seamlessly and securely after a successful login event. I believe this is a critical aspect of our application's security and usability.

Your expertise in this matter would be greatly appreciated.

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

No branches or pull requests

1 participant