Save expiration date we get (along with the token) from CustomersDot
- Every day, the GitLab seat link sync worker runs
- CDot embeds a new elements in the API response:
"service_tokens": {
"code_suggestions": {
"token": "ABCDEF",
"expires_at": 12345
}
}
For more details, see https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/7745
We are saving the token in !125405 (merged)
We should also store the expires_at
field accordingly in the service_access_tokens
DB table.
Edited by Aleksei Lipniagov