joshsoftware / joshsoftware/lingo.ai

Access tokens are not refreshed or updated in the database once they expire, resulting in failed meeting fetches and unauthorized API responses.

Open
#119 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Access tokens are not fetched and set in database when they are expired.

#### **Steps to Reproduce**
1. Log in to **Lingo Bot** — access token is stored in the database.
2. Wait until the access token expires.
3. Attempt to fetch meetings using the expired access token.

---

#### **Expected Behavior**
- The system should detect that the access token is expired.
- Automatically refresh the token using the refresh token.
- Save the new access token to the database.
- Retry the failed request (e.g., fetch meetings).

---

#### **Actual Behavior**
- API calls (e.g., fetch meetings) fail with `Unauthorized` or `undefined` responses.
- The system does **not** refresh the token.
- The **expired access token remains** in the database.
- No new meeting data is fetched or stored.

---

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.