I have created Cognito's federated sign in for google as mentioned in use case 19. According to which, the session is created as follows:-
final session = new CognitoUserSession(idToken, accessToken, refreshToken: refreshToken);
However, for s3 upload signing, I am unable to renew the session using the following method(for the obvious reason that the authentcation is done using password):-
Is it possible to renew the session with the available idToken, accessToken and refreshToken as in the first case for both the s3 upload signing as well as login renewal?
I have created Cognito's federated sign in for google as mentioned in use case 19. According to which, the session is created as follows:-
final session = new CognitoUserSession(idToken, accessToken, refreshToken: refreshToken);
However, for s3 upload signing, I am unable to renew the session using the following method(for the obvious reason that the authentcation is done using password):-
Is it possible to renew the session with the available idToken, accessToken and refreshToken as in the first case for both the s3 upload signing as well as login renewal?
Thanks in advance.