-
Notifications
You must be signed in to change notification settings - Fork 80
Feature : Checking if the auth token has expired #206
Copy link
Copy link
Open
Labels
Category: CodingChanges to code base or refactored code that doesn't fix a bug.Changes to code base or refactored code that doesn't fix a bug.Status: AvailableIssue was approved and available to claim or abandoned for over 3 days.Issue was approved and available to claim or abandoned for over 3 days.Type: EnhancementNew feature or request.New feature or request.hacktoberfest
Metadata
Metadata
Assignees
Labels
Category: CodingChanges to code base or refactored code that doesn't fix a bug.Changes to code base or refactored code that doesn't fix a bug.Status: AvailableIssue was approved and available to claim or abandoned for over 3 days.Issue was approved and available to claim or abandoned for over 3 days.Type: EnhancementNew feature or request.New feature or request.hacktoberfest
Is your feature request related to a problem? Please describe.
Currently, we send all auth tokens to the MS-backend. However if we check if the auth token has expired or not before sending it to the MS-backend then it would reduce the load and also limit our calls to the MS-backend.
Describe the solution you'd like
Check if the Auth token has expired. And if it has send a 401 response to the user.
Additional context
There is an open pr for tsomething similar on the MS-android repo as well.