Closed nickoferrall closed 2 years ago
Current plan:
teamMemberIntegrationAuths
teamMemberIntegrationAuth
table
- in the dataLoader, get the token's TTL from Redis
Why would we store the TTL in Redis when the token itself is stored in Postgres? That seems out of place to me.
We could store it in Postgres, but I was thinking Redis because:
teamMemberIntegrationAuths
might be overkill @Dschoordsch curious to get your thoughts on the above. I created a PR for this yesterday evening: https://github.com/ParabolInc/parabol/pull/6594
If you feel that the TTL needs to live in Postgres, I'll work on the change today.
In GitLab's May 2022 update, they have deprecated non-expiring tokens and are now expiring tokens after two hours: https://northflank.com/blog/supporting-expiring-oauth-access-tokens-for-gitlab
AC