Coder Social home page Coder Social logo

Comments (7)

vmurin avatar vmurin commented on June 25, 2024

You are right - currently there is no such feature like "clear all cached data"

I will think about possible implementation but it can not be called on uninstall automatically. It is rather the OS task...

from react-native-azure-auth.

skyshine999 avatar skyshine999 commented on June 25, 2024

Are you storing token in async storage or somewhere. If you are storing in async storage it will be cleared after uninstall.

from react-native-azure-auth.

vmurin avatar vmurin commented on June 25, 2024

In have today published new version with the new method clearPersistentCache (link)
You can use it on your own. And on uninstall cached in AsyncStorage data will be cleared as well (as you wrote)

So I close this issue.

from react-native-azure-auth.

skyshine999 avatar skyshine999 commented on June 25, 2024

i have taken your latest plugin after that i logged in and uninstalled the app. Again i installed the app i am able to see previous user login details.
Everywhere if we uninstall app it will delete all login details. Have you implemented same feature here

from react-native-azure-auth.

vmurin avatar vmurin commented on June 25, 2024

Where and how you can see the user login details? Which details you see?

from react-native-azure-auth.

skyshine999 avatar skyshine999 commented on June 25, 2024

I am able to see emailid and it is showing message like "Are you trying to sign in myapp?". If i press yes it is doing silent login without my password.

from react-native-azure-auth.

vmurin avatar vmurin commented on June 25, 2024

Just want additionally comment this issue to clear the behavior.

The library uses system browser (different components on iOS and Android but with similar behavior) to login into Azure. There is a number of reasons to do so. A good explanation you can find for example here.

If you uninstall your app it does affect of course the system browser component. And if you reinstall the app und login shortly after that, the browser component uses saved cookies to re-login into Azure.
There is no security breach, this is intended behavior as long as the tokens saved in cookie are valid. The cookie tokens are short-lived, usually not longer as 1 hour. After this period of time the user will be re-prompted to enter his password.

from react-native-azure-auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.