Closed penelopeysm closed 3 months ago
https://github.com/alan-turing-institute/meet/blob/a960b978ea852975fa6c6c43af395cf3cb9c78b1/src/Meet/Azure.hs#L62-L75
If the token has expired, attempt to get a new one using the refresh token that is already in the serialised JSON file. This should extend the amount of time before which the user needs to re-authenticate via web.
API documentation: https://learn.microsoft.com/en-us/graph/auth-v2-user?tabs=http#5-use-the-refresh-token-to-renew-an-expired-access-token
https://github.com/alan-turing-institute/meet/blob/a960b978ea852975fa6c6c43af395cf3cb9c78b1/src/Meet/Azure.hs#L62-L75
If the token has expired, attempt to get a new one using the refresh token that is already in the serialised JSON file. This should extend the amount of time before which the user needs to re-authenticate via web.