uvdesk / api-bundle

API Integration for UVdesk Community Helpdesk System.
MIT License
17 stars 15 forks source link

When we are using the expired token from session logout api then token not expired/disabled from admin panel #45

Open komal-sh-27 opened 1 year ago

komal-sh-27 commented 1 year ago

Description
When we are using the expired token from session logout api then token not expired/disabled from admin panel

How to reproduce
Step 1: First create a token from using session login api or from admin panel on admin credentials button:

image

Step 2: Now we have api token expired from session logout api using postman side:

Headers:

{
    "Authorization": "Bearer ACCESS_TOKEN"
}

Step 3: After token expired now check on the admin panel and here this token still enabled:

image

Possible Solution

If we have api token expired from session logout api side so here should be token is expired like when click on disbaled button so here status is disabled but here should be status shown expired and also enabled button is unclickable so that we are not able to status is enabled again:

image

Note: Discussed with Akshay Sir