amazon-cognito-identity-dart-2 icon indicating copy to clipboard operation
amazon-cognito-identity-dart-2 copied to clipboard

timezone issue. aws get api with AwsSigV4Client received 403

Open MurtuzaSrashtaSoft opened this issue 2 years ago • 0 comments

The mobile device timezone is china. and mobile is located in the United States. At that time app called aws post API /things/$thing/shadow(get api).but received 403. I see the signature SigV4 that method used DateTime.now.

path :- cognito_credentials.dart.dart Line number 129

That may cause an issue. after resetting the mobile time zone in auto mode it's working fine.

will you change all methods which compare DateTime.now insted of UTC Time zone.

Screenshot 2022-06-09 at 11 32 29 AM

MurtuzaSrashtaSoft avatar Jun 09 '22 06:06 MurtuzaSrashtaSoft