Code Monkey home page Code Monkey logo

Comments (5)

ve7jtb avatar ve7jtb commented on May 16, 2024

People use the term implicit in two ways.

1, to describe fragment encoding the response
2, to refer to the token response_type

The token response type has some security issues as it cannot be protected from interception via PKCE.
That you likely will not see. (fragment encoded access tokens may go away in future revisions of OAuth)

The hybrid response types like "code id_token" are potentially useful for native apps and may get supported.

We were discussing that last week.

What are you looking for?

Regards

from appauth-android.

pntest avatar pntest commented on May 16, 2024

I am referring to Section 4.2 of RFC 6749. Based on my understanding of the RFC, I think I am referring to token response_type. From your comment above, it looks like you don't have plans to support it for security reasons. Is that correct?

from appauth-android.

ve7jtb avatar ve7jtb commented on May 16, 2024

The "token" response type is not recommended for native apps.

The problem is that custom scheme redirects may be intercepted by other than the intended target especially on iOS (it can happen on Android as well but the user is warned).

That flow was intended for JavaScrypt clients executing in a browser and not for native applications.

To set the best example I don't expect it to be supported in the AppAuth.

Regards
John B.

from appauth-android.

pntest avatar pntest commented on May 16, 2024

Thanks a lot for your quick response.

from appauth-android.

iainmcgin avatar iainmcgin commented on May 16, 2024

I made some comments related to this in #75 - it would be possible to support in the library, but probably with some pretty onerous version restrictions (Android M and up) to guarantee any kind of security. I agree with John that code flows that grant refresh tokens are much better for native apps, particularly if the tokens granted through the implicit flow have short expirations.

from appauth-android.

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.