Open
Description
We've been using the default endpont for our Cognito user pool but would like to start using a custom proxy endpoint (without changing the underlying pool).
When taking the naive approach of specifying the endpoint in the amplify config (below), the user appears to be logged out on launch (without any network calls being made).
"CognitoUserPool": {
"Default": {
"Endpoint": "idp.example.com",
"PoolId": "eu-west-XXX",
"AppClientId": "XXX",
"Region": "eu-west-1"
}
},
I'm not clear on exactly why this is but I'm guessing it's because the previously issued tokens have an issuer that is at https://cognito-idp.eu-west-1.amazonaws.com.
Is there any mechanism by which we can start using our new endpoint while retaining the validity of existing tokens / sessions?