A cloud-based identity and access management service for securing user authentication and resource access
Refresh token issue
- User is getting logged into the azure active directory application from the popup that appears on the frontend
- Access token is generated from MSAL library and I am trying to get the refresh token from the sessions
- Then the tokens are saved in the database
- User clears the cache
- Token is expired after 1 Hour
- Need a way to refresh the token in the backend api, but getting into the errors like: invalid grant, client is not valid, request malformed
How can i generate the meeting links from the backend api?
Below is the error i am getting here mostly!!
{
"error": "invalid_grant",
"error_description": "AADSTS9002313: Invalid request. Request is malformed or invalid.\r\nTrace ID: e088b1fa-8902-41ad-a559-73e6facd2c00\r\nCorrelation ID: d300ab19-bbe3-4dad-b225-50aad7258d05\r\nTimestamp: 2021-11-17 14:52:06Z",
"error_codes": [
9002313
],
"timestamp": "2021-11-17 14:52:06Z",
"trace_id": "e088b1fa-8902-41ad-a559-73e6facd2c00",
"correlation_id": "d300ab19-bbe3-4dad-b225-50aad7258d05",
"error_uri": "https://login.microsoftonline.com/error?code=9002313"
}