Comments (9)
@dineshkumar02 - Thanks for submitting this ticket. Please see the following 3 questions:
- Does this happen in both Android and iOS?
- What happens if you attempt to make an authenticated request, say, to the storage category?
- What happens if you explicitly call signout after deleting the user, but before attempting to re-signin?
from amplify-flutter.
Possibly related: #93
from amplify-flutter.
Hi @haverchuck
I tested only on Android and did not get chance to test it in IOS.
After sign out, when I try to sign in back, then it is not accepting the deleted user details.
The behavior is, once user is signed in, then the subsequent sign in with any password is working.
I think, there is a kind of token which is getting created while the user sign in, and until the token expires, this amplify auth library is letting the users sign in with any password. I think, I forgot to mention the token expire time while sign in?? OR, not sure what the existing behavior is.
--Dinesh
from amplify-flutter.
Hi @dineshkumar02 thanks for brining this issue to our attention. We are looking into it.
from amplify-flutter.
Is there any update on this? Experiencing the same thing.
from amplify-flutter.
It looks like this was marked as a bug that requires a fix in Amplify-Android, but no Amplify-Android issue was linked. I'm marking this as pending triage until we track down what fix is required from Amplify-Android.
from amplify-flutter.
@dineshkumar02 @markpearl - Are you only experiencing this using hosted UI?
I am a little bit confused by the reproduction steps. Are you signing out before calling sign in again? If not, what is the purpose of calling signIn when the user is already signed in?
from amplify-flutter.
@dineshkumar02 @markpearl - If you are still experiencing this issue, please provide the info above so that we can reproduce this. Thanks.
from amplify-flutter.
@Jordan-Nelson ,
I was exploring the amplify with flutter 2 years ago and reported the case which I faced.
Let me close this issue for now, as I understood how the internal auth token works.
What I was doing is like
- Sigin with cognito user
- In background, delete the user from aws console
- Close the application and start it again (Auto sign in happened)
I thought, for the deleted users auto sign in
do not work, but it seems the auto sign in
happens based on the token and it's expire time
from amplify-flutter.
Related Issues (20)
- AmplifyPushNotificationsPinpoint doesn't support offline configuration HOT 3
- Stuck in WebUI after authenticating with a certificate in iOS HOT 16
- Type comparison with UnderlyingExceptions might not be working as expected. HOT 5
- Update device_info_plus dependency HOT 2
- Update connectivity_plus dependency HOT 1
- Datastore without Cloud sync - Android build failing HOT 6
- Unable to get local issuer certificate when configure Amplify on Windows Devices HOT 7
- User cancelled OAuth flow error from signInWithRedirect
- Amplify confirm sign in with custom authentication flow timing out HOT 1
- Unauthorized error when Data-specific Authorization with AppSync (Datastore/GraphQL) HOT 6
- Flutter Web AmplifyAuthCognito SignOut not working HOT 7
- DataStore.observeQuery is not working when model has owner + static group auth rules HOT 2
- Flutter amplify dependency fails on apk build HOT 4
- Flutter - AWS Amplify - Network error in authentication when building apk, no issues in debug/emulation
- Listen to Amplify.Hub events within Authenticator? HOT 3
- S3 access denied when making the API call HOT 14
- [amplify_secure_storage] Missing Apple Privacy Manifest HOT 3
- Webassembly support, package:js, dart:js and dart:js_util should be replaced to dart:js_interop and/or dart:js_interop_unsafe HOT 2
- [Feature Request] Support ampx --output-version 1 HOT 1
- Analytics record event is throwing SqliteException HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplify-flutter.