-
Notifications
You must be signed in to change notification settings - Fork 549
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
AWSMobileClient federated sign in facebook always return onResult even though give wrong token #800
Comments
Hi @HayTran94 , This appears to bug in our logic. We are working on a fix to improve the experience. |
I have been fighting this or a similar issue for a month now with Google Federated sign-in. Possibly related.
|
…/Facebook from drop-in UI Updated `federatedSignIn()` method to contact the service immediately to validate tokens. The `signIn()` method will also attempt to federated immediately when applicable. See [issue #800](#800) Fix Google or Facebook refresh when using the drop-in UI. See [issue #809](#809), [issue #700](#700) Annotated methods that are designed to be called from UI thread or from a background thread with @anythread and @workerthread, respectively.
…/Facebook from drop-in UI Updated `federatedSignIn()` method to contact the service immediately to validate tokens. The `signIn()` method will also attempt to federated immediately when applicable. See [issue #800](#800) Fix Google or Facebook refresh when using the drop-in UI. See [issue #809](#809), [issue #700](#700) Annotated methods that are designed to be called from UI thread or from a background thread with @anythread and @workerthread, respectively.
…/Facebook from drop-in UI Updated `federatedSignIn()` method to contact the service immediately to validate tokens. The `signIn()` method will also attempt to federated immediately when applicable. See [issue #800](#800) Fix Google or Facebook refresh when using the drop-in UI. See [issue #809](#809), [issue #700](#700) Annotated methods that are designed to be called from UI thread or from a background thread with @anythread and @workerthread, respectively.
Hi, Please see if SDK release 2.12.7 fixes this issue for you. We have added the following enhancements:
You may see all changes in the changelog |
I'm assuming from the thumbs up reaction to the last post that the issue is resolved. Please feel free to open a new issue if the problem persists. We ask this because closed issues are not actively monitored. Thanks |
…/Facebook from drop-in UI Updated `federatedSignIn()` method to contact the service immediately to validate tokens. The `signIn()` method will also attempt to federated immediately when applicable. See [issue aws-amplify#800](aws-amplify#800) Fix Google or Facebook refresh when using the drop-in UI. See [issue aws-amplify#809](aws-amplify#809), [issue aws-amplify#700](aws-amplify#700) Annotated methods that are designed to be called from UI thread or from a background thread with @anythread and @workerthread, respectively.
…/Facebook from drop-in UI Updated `federatedSignIn()` method to contact the service immediately to validate tokens. The `signIn()` method will also attempt to federated immediately when applicable. See [issue aws-amplify#800](aws-amplify#800) Fix Google or Facebook refresh when using the drop-in UI. See [issue aws-amplify#809](aws-amplify#809), [issue aws-amplify#700](aws-amplify#700) Annotated methods that are designed to be called from UI thread or from a background thread with @anythread and @workerthread, respectively.
Describe the bug
Even though give wrong token, but the callback of federatedSignIn method using facebook token always return onResult with UserState is SIGNED_IN. After that, the log print stack trace with invalid token.
To Reproduce
Which AWS service(s) are affected?
AWSMobileClient
Expected behavior
Return SIGNED_OUT_FEDERATED_TOKENS_INVALID for UserState or onError should called.
Screenshots
Environment Information (please complete the following information):
The text was updated successfully, but these errors were encountered: