Open kelp404 opened 5 years ago
I have the same issue, it works not stable.
I'm having the same issue, also with Salesforce OpenID provider. It fails the first time with "Connection reset". I'm using Amplify, though.
I also have the same issue with amplify
Was there a resolution to this issue? We are seeing similar errors with a third-party's (not SalesForce) IdP.
I removed amazon-cognito-auth-js. I direct do oauth by myself.
As this issue looks like won't be fixed in near future, I solved that flow with catching that error and retry sign it on it (for Amplify):
onHubCapsule(capsule: any) {
const { channel, payload } = capsule;
if (channel === 'auth' && payload.event === 'signIn') {
this.props.history.push(RoutePath.HOME);
this.props.getUserSession();
// handle Exception processing authorization error with retry
} else if (
channel === 'auth' &&
payload.event === 'signIn_failure' &&
payload.data === 'Exception+processing+authorization+code'
) {
AuthService.loginSalesforce();
}
}
Hello,
I have the same issue like this:
https://stackoverflow.com/questions/51640439/cognito-with-salesforce-error-when-logging-in
Some time it is work:
Some time it is not work: