New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWSCognitoAuth signIn error #857
Comments
I can confirm this issue. I am currently facing the same problems. As a workaround I created an extension for
The problem seems to be, that the redirects in the SafariViewController are happening too fast for it to actually load the page initially. |
I end up by removing this method at all: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems. |
problem only happen when yo set "identity_provider=google", the redirect fail. |
To help us solve your problem better, please answer the following list of questions.
What service are you using?
AWSCognitoAuth
In what version of SDK are you facing the problem?
SDK 11.2
Is the issue limited to Simulators / Actual Devices?
NO
Can your problem be resolved if you bump to a higher version of SDK?
NO
Is this problem related to specific iOS version?
NO
How are you consuming the SDK? CocoaPods / Carthage / Prebuilt frameworks?
Cocoapods
Can you give us steps to reproduce with a minimal, complete, and verifiable example? Please include any specific network conditions that might be required to reproduce the problem.
SignIn with Google provider. SignOut. Sign in with Google provide -> Error occurs.
When I had authorized previously and made sign out after, my next sign In will display "Loading page failed". This happens every second login-logout pair.
This happens only for Google provider.
The error is generated in
- (void)safariViewController:(SFSafariViewController *)controller didCompleteInitialLoad:(BOOL)didLoadSuccessfully
withdidLoadSuccessfully = NO
.So this will generate error and not wait for NSURLSession callback.
Does anyone has such problem?Thanks
The text was updated successfully, but these errors were encountered: