Code Monkey home page Code Monkey logo

expo-auth0-example-2020's People

Contributors

guyavraham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

expo-auth0-example-2020's Issues

Logout

How do you handle logging out? I see AuthSession.dismiss() in the logout function (commented out), but does that method actually log the user out? According to the docs, nothing is returned by this function, and I don’t believe it’s actually invalidating the token with Auth0. I’m trying to do a full logout, that is, clearing whatever Auth0 has cached on the device that allows users to log in or renew their token without having to re-enter their password. After calling .dismiss(), I find the app is still accessible without re-entering a password. I believe AuthSession.revokeAsync() may be what’s needed to accomplish this, but I haven’t been able to get it to work, I believe because I’m not passing it the correct arguments – I find the docs a bit vague and haven’t found any sample code that might clarify the use of this method. Logging out is a critical feature, it would be nice if we could piece it together so your sample code is more complete – thanks for providing it.

App.js file missing

Hi, I love that you made an updated version of expo-auth0.

I think the App.js file is missing however, could you please add this. I find this repo very useful.

Thanks!

cant build

I am having issues trying to build this in expo:
web Failed to compile.
.../auth0-example/node_modules/react-native/Libraries/StyleSheet/processColor.js
Module not found: Can't resolve '../Utilities/Platform' in '.../auth0-example/node_modules/react-native/Libraries/StyleSheet'

When I try to run it in the ios simulator I get this error:
Simulator Screen Shot - iPhone 11 Pro Max - 2020-06-25 at 07 55 55

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.