f5devcentral / f5-cli

F5 CLI
Apache License 2.0
12 stars 1 forks source link

Handle Auth Token Expiry #8

Open kreynoldsf5 opened 4 years ago

kreynoldsf5 commented 4 years ago
Error: Bad request for URL: https://10.10.0.119:8443/mgmt/shared/declarative-onboarding/task/9e13eb67-1dfc-4470-af6f-48e9241b09c7 code: 401 reason: F5 Authorization Required body: {'code': 401, 'message': 'X-F5-Auth-Token has expired.', 'referer': '10.100.0.10', 'restOperationId': 6229426, 'kind': ':resterrorresponse'}

The CLI should handle token expiration gracefully. Since this can happen in the middle of an operation, I would guess this needs to be handled automatically.

shyawnkarim commented 4 years ago

Thanks for this feedback. This enhancement is now being tracked internally with ID AUTOSDK-327.