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

Secure Logout Flows Have Been Created for Admin Users & Users #48

Merged
merged 89 commits into from
Jun 5, 2023

Conversation

agitrubard
Copy link
Collaborator

@agitrubard agitrubard commented May 19, 2023

This PR includes developments related to invalidating tokens used in secure logout flows for Admin Users and Other Users. With this development, users will be able to take secure logout action and invalidate their tokens.

Development Details:

  • Created the AYS_INVALID_TOKEN table to store the ID information of invalidated tokens.
  • As a result, repository and service layers were created to handle token invalidation, check if a token is valid, and perform these checks through the database.
  • The relevant service layer was integrated into the services used by Admin Users and Other Users, and endpoints were created.
  • Code refactoring was done in some classes.
  • JavaDoc was added for the added code.
  • Unit tests were written for the Controller and Service layers for the implemented changes.

agitrubard added 23 commits May 19, 2023 10:47
@agitrubard agitrubard requested a review from a team May 19, 2023 08:14
@agitrubard agitrubard marked this pull request as draft May 19, 2023 08:15
agitrubard added 25 commits June 4, 2023 20:12
…n-user' into feature/logout-for-user-and-admin-user

# Conflicts:
#	src/test/java/com/ays/user/controller/UserControllerTest.java
…er-and-admin-user

# Conflicts:
#	src/main/java/com/ays/auth/model/AysIdentity.java
#	src/test/java/com/ays/admin_user/controller/AdminUserAuthControllerTest.java
…Builder, AysIdentity and UserAuthControllerTest
@Rapter1990 Rapter1990 merged commit be171e2 into main Jun 5, 2023
@Rapter1990 Rapter1990 deleted the feature/logout-for-user-and-admin-user branch June 5, 2023 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
3 participants