fig icon indicating copy to clipboard operation
fig copied to clipboard

Can't login using SSO (IAM Identity Center)

Open dconlon-wagetap opened this issue 3 years ago • 1 comments

Checks

  • [X] I have searched github.com/withfig/fig/issues and there are no duplicates of my issue
  • [X] I have run fig doctor in the affected terminal session
  • [X] I have run fig restart and replicated the issue again

Operating system

MacOS Ventura 13.6.1

Expected behaviour

Cannot login via IAM Identity Center. Cannot run fig doctor or fig restart

Actual behaviour

Failed to login service error: InvalidGrantException: InvalidGrantException (ServiceError(ServiceError { source: InvalidGrantException(InvalidGrantException { error: Some("invalid_grant"), error_description: Some("Invalid grant provided"), message: None, meta: ErrorMetadata { code: Some("InvalidGrantException"), message: None, extras: Some({"aws_request_id": "4a8ebedb-a31e-4325-8b3c-b5175e5138e3"}) } }), raw: Response { status: 400, version: HTTP/2.0, headers: {"date": "Tue, 21 Nov 2023 06:07:28 GMT", "content-type": "application/json", "content-length": "70", "x-amzn-requestid": "4a8ebedb-a31e-4325-8b3c-b5175e5138e3", "x-amzn-errortype": "InvalidGrantException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/"}, body: SdkBody { inner: Once(Some(b"{\"error\":\"invalid_grant\",\"error_description\":\"Invalid grant provided\"}")), retryable: true } } }))

Steps to reproduce

No response

Environment

No response

dconlon-wagetap avatar Nov 21 '23 06:11 dconlon-wagetap

FYI this required setup in the AWS console - I highly recommend something saying this along the onboarding process.

dconlon-wagetap avatar Nov 22 '23 05:11 dconlon-wagetap