node
01/05/2024, 6:33 PMnode
01/05/2024, 6:38 PMexp value to setup some sort of timer to perform refresh prior to expiration.node
01/05/2024, 7:02 PMnode
01/05/2024, 7:11 PMrahul1
01/08/2024, 8:31 PMnode
01/08/2024, 9:03 PMts
medplum.post(
'/oauth2/token',
`grant_type=refresh_token&refresh_token=${medplum.getActiveLogin().refreshToken}`,
'application/x-www-form-urlencoded',
)
sh
Error: {"error":"invalid_request","error_description":"Invalid authorization header"}
But if I make the same request with an admin client, it works and a new access token is grantedrahul1
01/11/2024, 8:31 PMnode
01/11/2024, 8:37 PMnode
01/16/2024, 3:50 PM