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

Fix access token #286

Open
sulton-max opened this issue Jan 24, 2024 · 0 comments
Open

Fix access token #286

sulton-max opened this issue Jan 24, 2024 · 0 comments
Assignees
Labels
backend Server-side logic, backend API feature New functionality or enhancements medium Normal priority, requires timely attention

Comments

@sulton-max
Copy link
Collaborator

sulton-max commented Jan 24, 2024

Fix access token

Description

Fix access token issues including roles updating role etc.

Requirements

  • project must be runnable
  • access token must be validated in middleware
  • updating user role should create UserRoleUpdateEvent to update roles in cache
  • if user role is removed any access tokens that have that role must be revoked
  • fix access token and refresh token caching time - as removing access token will force user to login again, we need to save access token to reasonable amount of time to avoid that

Deliverables

  • HttpContextExtensions - add methods to check and get values for claim values
  • AccessTokenValidation- validation of access token in access token middleware
@sulton-max sulton-max added feature New functionality or enhancements high Important with high priority backend Server-side logic, backend API labels Jan 24, 2024
@sulton-max sulton-max added this to the Finish Identity milestone Jan 24, 2024
@sulton-max sulton-max changed the title ## Fix access token Fix access token Jan 24, 2024
@sulton-max sulton-max moved this to In Progress in AirBnB Feb 7, 2024
@sulton-max sulton-max added medium Normal priority, requires timely attention and removed high Important with high priority labels Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Server-side logic, backend API feature New functionality or enhancements medium Normal priority, requires timely attention
Projects
None yet
Development

No branches or pull requests

2 participants