Code Monkey home page Code Monkey logo

Comments (7)

dennisameling avatar dennisameling commented on August 10, 2024 1

The Secure Storage Plugin should be used by users; they should store the tokens on their end. Using that plugin is just a recommendation (for securely storing the refresh tokens), in the end the users are free to do with the tokens whatever they want to do.

I just built a first version of the refresh functionality for Android and it seems to work 😄 please feel free to take a look at my PR and provide feedback!

from generic-oauth2.

dennisameling avatar dennisameling commented on August 10, 2024 1

@tomfebry Yes, we're using it in production now for iOS and Android. 😄 If you really need it now, you could consider using my NPM package (https://www.npmjs.com/package/@dennisameling/capacitor-oauth2) until my PR has been accepted into the main repository.

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024 1

@dennisameling thx for the PR. I will release a new version next week.

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024 1

I'm closing this issue for the upcoming release and created a new one for the feature regarding the PWA/Web part. Hope that's ok. See #65

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024

I like the idea. Just one question.

The Secure Storage Plugin should be used by users of the plugin not the plugin itself? So it is sth we need to documentation?

I would really like to keep the plugin only depending on Capacitor Core + Core plugins. Alternatively I would rather implement the secure store feature myself. I doesn't seem to be that much work.

from generic-oauth2.

dennisameling avatar dennisameling commented on August 10, 2024

Just finished first working version of iOS refresh token functionality. First time working with Swift, so if something looks weird in the code, please comment and I'm happy to fix it 😄 Also provided some basic documentation on how to refresh a token from within the app.

from generic-oauth2.

tjelz avatar tjelz commented on August 10, 2024

I am trying to implement this into an ionic application, did you manage to get refresh tokens working?

from generic-oauth2.

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.