Cognito social auth should result in a session token

286 Views Asked by At

My backend expects the cognito session token that is result of user logging in with cognito user pool.

However, when user authenticates with facebook, no session token is being returned. Is there a way, to have the social authentication result in a session token? I'm talking about the combination of id token, refresh token, and access token.

1

There are 1 best solutions below

0
On BEST ANSWER

This document describes setting up a federated auth provider flow which results in ID, Access, and Refresh tokens:

http://docs.aws.amazon.com/cognito/latest/developerguide/getting-started.html