Open miojoffey opened 6 years ago
You both need to:
this.auth.useCodeGrantFlow();
(see sample here and documentation, "Important to know" section )Allowed OAuth Flows: Authorization code grant
in you Cognito app configuration(at least this worked for me)
Hi, im not too sure if this is relevant to this, but this is my case.
I have an app that authenticates using cognito /login endpoint. https://docs.aws.amazon.com/cognito/latest/developerguide/login-endpoint.html
so it returns to me a response that only includes id_token, access_token, token_type, expires_in, but does not include a refresh token. Would it be possible for me to use this sdk to issue a refresh with the ones i got from the /login endpoint?
Any help is much appreciated. Thank you.