ERROR: AADSTS700024: Client assertion is not within its valid time range
See original GitHub issue👋 Hi! I’m using the azure/login
action for CD and I’m often getting an error when the job execution takes more than a couple of minutes from the initial login.
ERROR: AADSTS700024: Client assertion is not within its valid time range. Current time: 2021-11-26T09:44:41.0193003Z, expiry time of assertion 2021-11-26T09:31:56.0000000Z.
Is there a way to extend the validity of the token via a parameter? The aws-actions/configure-aws-credentials
action does it via a role-duration-seconds
flag:
The default session duration is 6 hours when using an IAM User to assume an IAM Role […] . If you would like to adjust this you can pass a duration to role-duration-seconds, but the duration cannot exceed the maximum that was defined when the IAM Role was created.
ref: https://github.com/aws-actions/configure-aws-credentials/blob/master/README.md#assuming-a-role
Thank you! 🙇
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:57 (7 by maintainers)
Top Results From Across the Web
Client assertion is not within its valid time range error while ...
I am trying to acquire token for from my Azure client App which has Ms Graph permissions set. I am using HttpClient request...
Read more >Assertion is not within its valid time range in AspNetCore ...
IdToken which will not send the authorization code to the client. Additional information: AADSTS70002: Error validating credentials. AADSTS50013 ...
Read more >Unable to install local agent for on prem D365FO
We are not able to install "Local agent" for on prem D365 FO ... AADSTS700024: Client assertion is not within its valid time...
Read more >GitHub | SSW Better Software Suggestions
Original 1961 | exception: AADSTS700024: Client assertion is not within its 1962 | valid time range. Current time: 2022-10-20T07:47:12.7446078Z, ...
Read more >Azure AD Sign-in Error 50013 - ManageEngine
Assertion is invalid because of the following reason - The token issuer doesn't match the API version within its valid time range.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can this be documented in the federated credentials setup steps? We are having the same issue.
Still necessary (this is fun 👍)