Code Monkey home page Code Monkey logo

Comments (4)

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024

hey, I look at your readme and your plugin demands the user to use the app secret in ios and android.

This is very bad practise as soon as an attacker gets the apk and decompile the code and he also gets the app secret.

You should never use code flow out side a server only code flow + pkce is a proper options.

Are you aware of that?

Update: Maybe Twitterkit manages the secure holding of the appSecret but it seems odd though.

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024

I think your PR would be better suited for https://github.com/ionic-team/capacitor/blob/master/site/docs-md/community/plugins.md#authentication.

There are already a couple of authentication plugins on that list and I don't want to curate a list myself because Capacitor already has one.

from generic-oauth2.

stewones avatar stewones commented on August 10, 2024

It makes no sense, that's the way twitterkit handles it.

Ok no problem. PR was already submitted to the docs.

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024

TwitterKit forcing you to do so, does not mean that it is generally a good idea.

Of course you don't have to believe me but please search the web and look for resources which do recommend the usage of code flow and the appSecret in public native apps.

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.