anitab-org / anitab-org/bridge-in-tech-backend
Feature : Checking if the auth token has expired
Offen
Category: Coding
hacktoberfest
Status: Available
Type: Enhancement
- Vorherrschende Sprache
- Python
- Sterne
- 24
- Forks
- 80
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### 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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.