Skip to content

'aws2 sso login' does not refresh security token #5971

@arvindkgs

Description

@arvindkgs

Confirm by changing [ ] to [x] below to ensure that it's a bug:

Describe the bug
I want to login to AWS SSO, and execute kubectl commands on my EKS, but after running 'aws2 sso login' and successfully logging in, when I run 'kubectl get pods' I get error An error occurred (ExpiredToken) when calling the AssumeRole operation: The security token included in the request is expired

SDK version number
aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3

Platform/OS/Hardware/Device
iTerm2/zsh 5.8 (x86_64-apple-darwin20.0)/BigSur 11.2.1/Macbook Air Intel 2015

To Reproduce (observed behavior)
run 'aws2 sso login'

Expected behavior
Allows me to run 'kubectl' commands on AWS EKS

Logs/output
2021-02-23 10:45:05,110 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3
2021-02-23 10:45:05,111 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['sso', 'login', '--debug']
2021-02-23 10:45:05,112 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_timestamp_parser at 0x7ff494787200>
2021-02-23 10:45:05,112 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function register_uri_param_handler at 0x7ff493e219e0>
2021-02-23 10:45:05,113 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_binary_formatter at 0x7ff4947d6290>
2021-02-23 10:45:05,113 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider_cache at 0x7ff493f8f7a0>
2021-02-23 10:45:05,131 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function attach_history_handler at 0x7ff494638c20>
2021-02-23 10:45:05,131 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_json_file_cache at 0x7ff4945da830>
2021-02-23 10:45:05,165 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.0.0dev4/dist/botocore/data/sso/2019-06-10/service-2.json
2021-02-23 10:45:05,169 - MainThread - botocore.hooks - DEBUG - Event building-command-table.sso: calling handler <function add_sso_commands at 0x7ff4945d4290>
2021-02-23 10:45:05,169 - MainThread - botocore.hooks - DEBUG - Event building-command-table.sso: calling handler <function add_waiters at 0x7ff494791e60>
2021-02-23 10:45:05,198 - MainThread - botocore.hooks - DEBUG - Event building-command-table.login: calling handler <function add_waiters at 0x7ff494791e60>
2021-02-23 10:45:05,202 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.0.0dev4/dist/botocore/data/endpoints.json
2021-02-23 10:45:05,213 - MainThread - botocore.hooks - DEBUG - Event choose-service-name: calling handler <function handle_service_name_alias at 0x7ff49395ccb0>
2021-02-23 10:45:05,215 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.0.0dev4/dist/botocore/data/sso-oidc/2019-06-10/service-2.json
2021-02-23 10:45:05,217 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.sso-oidc: calling handler <function add_generate_presigned_url at 0x7ff493914a70>
2021-02-23 10:45:05,227 - MainThread - botocore.endpoint - DEBUG - Setting oidc timeout as (60, 60)
2021-02-23 10:45:05,229 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.StartDeviceAuthorization: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:05,229 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.StartDeviceAuthorization: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:05,230 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.StartDeviceAuthorization: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:05,230 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=StartDeviceAuthorization) with params: {'url_path': '/device_authorization', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "startUrl": "https://d-92670b2743.awsapps.com/start"}', 'url': 'https://oidc.us-west-2.amazonaws.com/device_authorization', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:05,230 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.StartDeviceAuthorization: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:05,231 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.StartDeviceAuthorization: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:05,231 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/device_authorization, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '948'}>
2021-02-23 10:45:05,232 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): oidc.us-west-2.amazonaws.com:443
2021-02-23 10:45:06,482 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /device_authorization HTTP/1.1" 200 311
2021-02-23 10:45:06,483 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:06 GMT', 'Content-Type': 'application/json', 'Content-Length': '311', 'Connection': 'keep-alive', 'x-amzn-RequestId': '4032852a-486b-4380-92ca-65153ce70558'}
2021-02-23 10:45:06,483 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"deviceCode":"xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA","expiresIn":600,"interval":1,"userCode":"PMPJ-VZCJ","verificationUri":"https://device.sso.us-west-2.amazonaws.com/","verificationUriComplete":"https://device.sso.us-west-2.amazonaws.com/?user_code=PMPJ-VZCJ"}'
2021-02-23 10:45:06,484 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.StartDeviceAuthorization: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:06,484 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:06,484 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.StartDeviceAuthorization: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
Attempting to automatically open the SSO authorization page in your default browser.
If the browser does not open or you wish to use a different device to authorize this request, open the following URL:

https://device.sso.us-west-2.amazonaws.com/

Then enter the code:

PMPJ-VZCJ
2021-02-23 10:45:06,860 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:06,862 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:06,864 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:06,865 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:06,866 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:06,867 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:06,868 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:07,188 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 400 86
2021-02-23 10:45:07,191 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:07 GMT', 'Content-Type': 'application/json', 'Content-Length': '86', 'Connection': 'keep-alive', 'x-amzn-RequestId': 'b37ce1e4-552a-40aa-82cf-aac85facba10', 'x-amzn-ErrorType': 'AuthorizationPendingException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/'}
2021-02-23 10:45:07,191 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"error":"authorization_pending","error_description":"Authorization is still pending"}'
2021-02-23 10:45:07,193 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:07,194 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:07,195 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
2021-02-23 10:45:08,204 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:08,205 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:08,210 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:08,213 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:08,215 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:08,219 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:08,221 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:08,548 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 400 86
2021-02-23 10:45:08,552 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:08 GMT', 'Content-Type': 'application/json', 'Content-Length': '86', 'Connection': 'keep-alive', 'x-amzn-RequestId': '055ef51b-7cd5-4183-8c06-4bd0e708d8b0', 'x-amzn-ErrorType': 'AuthorizationPendingException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/'}
2021-02-23 10:45:08,554 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"error":"authorization_pending","error_description":"Authorization is still pending"}'
2021-02-23 10:45:08,556 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:08,557 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:08,559 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
2021-02-23 10:45:09,564 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:09,566 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:09,567 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:09,569 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:09,570 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:09,570 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:09,571 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:09,885 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 400 86
2021-02-23 10:45:09,888 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:09 GMT', 'Content-Type': 'application/json', 'Content-Length': '86', 'Connection': 'keep-alive', 'x-amzn-RequestId': '52c5e465-fb2e-4c60-bf89-8a768a24a043', 'x-amzn-ErrorType': 'AuthorizationPendingException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/'}
2021-02-23 10:45:09,888 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"error":"authorization_pending","error_description":"Authorization is still pending"}'
2021-02-23 10:45:09,889 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:09,890 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:09,891 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
2021-02-23 10:45:10,896 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:10,897 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:10,897 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:10,898 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:10,898 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:10,898 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:10,899 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:11,232 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 400 86
2021-02-23 10:45:11,243 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:11 GMT', 'Content-Type': 'application/json', 'Content-Length': '86', 'Connection': 'keep-alive', 'x-amzn-RequestId': '61bef43a-7583-4a46-ab9d-cff67a99a61d', 'x-amzn-ErrorType': 'AuthorizationPendingException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/'}
2021-02-23 10:45:11,245 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"error":"authorization_pending","error_description":"Authorization is still pending"}'
2021-02-23 10:45:11,252 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:11,255 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:11,256 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
2021-02-23 10:45:12,259 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:12,260 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:12,261 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:12,262 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:12,263 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:12,264 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:12,264 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:12,583 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 400 86
2021-02-23 10:45:12,585 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:12 GMT', 'Content-Type': 'application/json', 'Content-Length': '86', 'Connection': 'keep-alive', 'x-amzn-RequestId': 'a407b745-ce2c-4dd3-a753-a9beea7653bb', 'x-amzn-ErrorType': 'AuthorizationPendingException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/'}
2021-02-23 10:45:12,588 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"error":"authorization_pending","error_description":"Authorization is still pending"}'
2021-02-23 10:45:12,590 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:12,593 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:12,598 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
2021-02-23 10:45:13,603 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:13,604 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:13,605 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:13,605 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:13,606 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:13,606 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:13,606 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:13,924 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 400 86
2021-02-23 10:45:13,927 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:13 GMT', 'Content-Type': 'application/json', 'Content-Length': '86', 'Connection': 'keep-alive', 'x-amzn-RequestId': '82497e27-1e16-43af-b723-670129b359dd', 'x-amzn-ErrorType': 'AuthorizationPendingException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/'}
2021-02-23 10:45:13,928 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"error":"authorization_pending","error_description":"Authorization is still pending"}'
2021-02-23 10:45:13,929 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:13,931 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:13,932 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
2021-02-23 10:45:14,939 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:14,941 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:14,942 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:14,943 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:14,945 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:14,945 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:14,947 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:15,269 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 400 86
2021-02-23 10:45:15,273 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:15 GMT', 'Content-Type': 'application/json', 'Content-Length': '86', 'Connection': 'keep-alive', 'x-amzn-RequestId': '32ccfbe6-e091-4186-a5f4-e41a172f93fb', 'x-amzn-ErrorType': 'AuthorizationPendingException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/'}
2021-02-23 10:45:15,274 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"error":"authorization_pending","error_description":"Authorization is still pending"}'
2021-02-23 10:45:15,276 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:15,277 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:15,278 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
2021-02-23 10:45:16,284 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:16,289 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:16,291 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:16,292 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:16,294 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:16,295 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:16,296 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:16,617 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 400 86
2021-02-23 10:45:16,619 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:16 GMT', 'Content-Type': 'application/json', 'Content-Length': '86', 'Connection': 'keep-alive', 'x-amzn-RequestId': 'd7773d69-aa99-4674-bb74-012a6ee707dc', 'x-amzn-ErrorType': 'AuthorizationPendingException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/'}
2021-02-23 10:45:16,619 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"error":"authorization_pending","error_description":"Authorization is still pending"}'
2021-02-23 10:45:16,620 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:16,621 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:16,621 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
2021-02-23 10:45:17,627 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:17,628 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:17,629 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:17,630 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:17,631 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:17,632 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:17,633 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:17,943 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 400 86
2021-02-23 10:45:17,944 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:17 GMT', 'Content-Type': 'application/json', 'Content-Length': '86', 'Connection': 'keep-alive', 'x-amzn-RequestId': '0396fd3d-0564-4607-bedb-407e130c5823', 'x-amzn-ErrorType': 'AuthorizationPendingException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/'}
2021-02-23 10:45:17,945 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"error":"authorization_pending","error_description":"Authorization is still pending"}'
2021-02-23 10:45:17,946 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:17,946 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:17,948 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
2021-02-23 10:45:18,950 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:18,951 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:18,955 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:18,956 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:18,957 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:18,958 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:18,959 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:19,272 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 400 86
2021-02-23 10:45:19,274 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:19 GMT', 'Content-Type': 'application/json', 'Content-Length': '86', 'Connection': 'keep-alive', 'x-amzn-RequestId': 'b35af0d4-2282-406f-b5eb-3972c4082cf2', 'x-amzn-ErrorType': 'AuthorizationPendingException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/'}
2021-02-23 10:45:19,275 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"error":"authorization_pending","error_description":"Authorization is still pending"}'
2021-02-23 10:45:19,276 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:19,277 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:19,277 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
2021-02-23 10:45:20,285 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:20,287 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:20,290 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:20,293 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:20,298 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:20,299 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:20,302 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:20,635 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 400 86
2021-02-23 10:45:20,649 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:20 GMT', 'Content-Type': 'application/json', 'Content-Length': '86', 'Connection': 'keep-alive', 'x-amzn-RequestId': '58236ca6-96a8-448c-9a17-b162565d1e4d', 'x-amzn-ErrorType': 'AuthorizationPendingException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/'}
2021-02-23 10:45:20,650 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"error":"authorization_pending","error_description":"Authorization is still pending"}'
2021-02-23 10:45:20,652 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:20,654 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:20,656 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
2021-02-23 10:45:21,661 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:21,661 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:21,662 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:21,662 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:21,663 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:21,663 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:21,664 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:21,983 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 400 86
2021-02-23 10:45:21,987 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:21 GMT', 'Content-Type': 'application/json', 'Content-Length': '86', 'Connection': 'keep-alive', 'x-amzn-RequestId': '5e8ad286-cbb5-42ed-bfa0-25b6fe7ec177', 'x-amzn-ErrorType': 'AuthorizationPendingException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/'}
2021-02-23 10:45:21,989 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"error":"authorization_pending","error_description":"Authorization is still pending"}'
2021-02-23 10:45:21,992 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:21,995 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:21,996 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
2021-02-23 10:45:22,999 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:23,001 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:23,002 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:23,003 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:23,004 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:23,005 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:23,005 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:23,313 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 400 86
2021-02-23 10:45:23,315 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:23 GMT', 'Content-Type': 'application/json', 'Content-Length': '86', 'Connection': 'keep-alive', 'x-amzn-RequestId': 'cf719f1b-7c18-49da-b313-fdd9d4d50eae', 'x-amzn-ErrorType': 'AuthorizationPendingException:http://internal.amazon.com/coral/com.amazonaws.sso.oidc/'}
2021-02-23 10:45:23,317 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"error":"authorization_pending","error_description":"Authorization is still pending"}'
2021-02-23 10:45:23,318 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:23,319 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:23,320 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
2021-02-23 10:45:24,326 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.sso-oidc.CreateToken: calling handler <function base64_decode_input_blobs at 0x7ff4947d6320>
2021-02-23 10:45:24,327 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.sso-oidc.CreateToken: calling handler <function generate_idempotent_uuid at 0x7ff493962950>
2021-02-23 10:45:24,330 - MainThread - botocore.hooks - DEBUG - Event before-call.sso-oidc.CreateToken: calling handler <function inject_api_version_header_if_needed at 0x7ff493968440>
2021-02-23 10:45:24,332 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateToken) with params: {'url_path': '/token', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3'}, 'body': b'{"grantType": "urn:ietf:params:oauth:grant-type:device_code", "clientId": "8WUY2Morm77HGj-nAgudaXVzLXdlc3QtMg", "clientSecret": "eyJraWQiOiJrZXktMTU2Njk2ODEzNiIsImFsZyI6IkhTMzg0In0.eyJzZXJpYWxpemVkIjoie1wiZXhwaXJlZFwiOmZhbHNlLFwiY2xpZW50SWRcIjp7XCJ2YWx1ZVwiOlwiOFdVWTJNb3JtNzdIR2otbkFndWRhWFZ6TFhkbGMzUXRNZ1wifSxcInRlbmFudElkXCI6bnVsbCxcImNsaWVudE5hbWVcIjpcImJvdG9jb3JlLWNsaWVudC0xNjEwNjQwODU0XCIsXCJjbGllbnRUeXBlXCI6XCJQVUJMSUNcIixcInRlbXBsYXRlQXJuXCI6bnVsbCxcInRlbXBsYXRlQ29udGV4dFwiOm51bGwsXCJleHBpcmF0aW9uVGltZXN0YW1wXCI6MTYxODQxNjg1NS45NDcwMDAwMDAsXCJjcmVhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJ1cGRhdGVkVGltZXN0YW1wXCI6MTYxMDY0MDg1NS45NDcwMDAwMDAsXCJjcmVhdGVkQnlcIjpudWxsLFwidXBkYXRlZEJ5XCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJpbml0aWF0ZUxvZ2luVXJpXCI6bnVsbCxcImVudGl0bGVkUmVzb3VyY2VJZFwiOm51bGwsXCJlbnRpdGxlZFJlc291cmNlQ29udGFpbmVySWRcIjpudWxsLFwiZXh0ZXJuYWxJZFwiOm51bGx9In0.MrKQpRyKdZapc0l6wwARgNamIM1Y7bMJUgdyAXMq7xtIvijkumu2P6Sxao5nm2dH", "deviceCode": "xYPXpeHNWybL2yivg0oomUZ0hKqbAt9zUYNy1K1HTSJT0Oqo7T266etaIa9n9ajmzvzwa5qeyYx5BPoiVsdsbA"}', 'url': 'https://oidc.us-west-2.amazonaws.com/token', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7ff494a55890>, 'has_streaming_input': False, 'auth_type': 'none'}}
2021-02-23 10:45:24,334 - MainThread - botocore.hooks - DEBUG - Event request-created.sso-oidc.CreateToken: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff494a55850>>
2021-02-23 10:45:24,335 - MainThread - botocore.hooks - DEBUG - Event choose-signer.sso-oidc.CreateToken: calling handler <function set_operation_specific_signer at 0x7ff4939589e0>
2021-02-23 10:45:24,338 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://oidc.us-west-2.amazonaws.com/token, headers={'User-Agent': b'aws-cli/2.0.0dev4 Python/3.7.4 Darwin/20.3.0 botocore/2.0.0dev3', 'Content-Length': '1059'}>
2021-02-23 10:45:24,668 - MainThread - urllib3.connectionpool - DEBUG - https://oidc.us-west-2.amazonaws.com:443 "POST /token HTTP/1.1" 200 1308
2021-02-23 10:45:24,672 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Tue, 23 Feb 2021 05:15:24 GMT', 'Content-Type': 'application/json', 'Content-Length': '1308', 'Connection': 'keep-alive', 'x-amzn-RequestId': 'c68c4bf0-0751-4215-b970-727bbe16203e'}
2021-02-23 10:45:24,673 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"accessToken":"eyJlbmMiOiJBMjU2R0NNIiwidGFnIjoiYVhCYm1IZ0FYaXRWNURYZSIsImFsZyI6IkEyNTZHQ01LVyIsIml2IjoiTVNmVGpVRUpoSEVHVkt1ViJ9.AYABeN1Bray_vTK_naVpsTPsUUQAHwABABBEYXRhUGxhbmVTZXNzaW9uAAlQZXJlZ3JpbmUAAQAHYXdzLWttcwBLYXJuOmF3czprbXM6dXMtd2VzdC0yOjA2NjcxMzYzMjk5NDprZXkvMDIxMDhjYWUtZmYzMy00ZTdhLTg1NTItMzMyYTIxZWYxOWQ0ALgBAgEAeAaTrwLhiSGpiFAeONy9ajuAACg222hmLW0_dQcxeszzAcK0hu-rYTllm1Fv0QEol-sAAAB-MHwGCSqGSIb3DQEHBqBvMG0CAQAwaAYJKoZIhvcNAQcBMB4GCWCGSAFlAwQBLjARBAyM3BEPzB2dE6jHT64CARCAO2I0NPkV6Pjj2Pn2DCpvhoxkzzVI45FETKrmSzzySEJ9zvhwZyHxDq4BVUrWiSEnmGyKzT6c3X9JFIBfAgAAAAAMAAAQAAAAAAAAAAAAAAAAAIXkvk4IReLRHzE33nRGiQv_____AAAAAQAAAAAAAAAAAAAAAQAAACARPqYDZbys7vKU9fkj1n46-WN_lPbOS2JgLF7HS2BbRS5avh-rCgDVcLb8dUFi9xA.7DtolnRLxmreMI8f.5v61Yq93HN6_2n6CMP73jnQNVS25i2dEu03jiZ8HPGByIIhJd5ld9bpUplFELDtRca_g2jmbjOkB2bjXCE9muekkdr_m7tLCcgEa6QM-nyAetTs77QK1_Pan2lOaN7TJJ0-aHPRrfTF29mzSQmpDsc87SC_G6tqyQU2QIzo06ZLmaHnkaVzI7DKvUtX4MnndVhjHirbboh3h5f1uZdpj2BHDzOCN8SZlx9LA4G-8lAKQGn-U85HoDoxUYvY43pjqKR3rypg1jBZkP61Y3i4cfDLo995lNqc1gTWe53m2Fmn7vvXQIrEYCGyhVRdNGRgLo23j6CmuHOev3kSPC8t2TFmo6lmqCjPOEdWbBCGVuqV5MkwJ8eEplGkIw_nd5uVpIp2h5hS0gjtAIG2Bsjz9_WeWegnKGbNavhICUmpYdbchu0Oz9rInBxribpeWdQU5fRdlopn9XY415eRyg1KZEAQz6og-39Y.-4c0eL6igzOMLietPJFtHw","expiresIn":28800,"idToken":null,"refreshToken":null,"tokenType":"Bearer"}'
2021-02-23 10:45:24,675 - MainThread - botocore.hooks - DEBUG - Event needs-retry.sso-oidc.CreateToken: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7ff494ab0090>>
2021-02-23 10:45:24,676 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2021-02-23 10:45:24,677 - MainThread - botocore.hooks - DEBUG - Event after-call.sso-oidc.CreateToken: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7ff494a55c10>>
Successully logged into Start URL: https://d-92670b2743.awsapps.com/start

Additional context
Sometimes if I use Mac terminal instead of iTerm2 it works, but this is intermittent.

Metadata

Metadata

Assignees

Labels

guidanceQuestion that needs advice or information.sso

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions