mach-composer-cli icon indicating copy to clipboard operation
mach-composer-cli copied to clipboard

Check if the refresh token is used properly

Open mvantellingen opened this issue 2 years ago • 0 comments

When running mach-composer cloud .. with an old token it throws an error:

|
| Error: An error occured:
|
| oauth2: cannot fetch token: 401 Unauthorized
| Response: {"error":"invalid_grant","error_description":"The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client"}

We need to check if we are using the refresh token properly, or if the refresh token expires too soon

mvantellingen avatar Aug 17 '23 07:08 mvantellingen