Comments (5)
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.
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.
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.
Thanks a lot for your quick response.
from appauth-android.
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)
- BrowserDenyList Behavior HOT 1
- Microsoft Edge Support HOT 3
- Cancel the Authorization Request process
- Getting Activity Not Found Exception When trying to authorize the request
- Authorization canceled error. HOT 3
- Fatal Exception: java.lang.SecurityException: Binder invocation to an incorrect interface HOT 2
- What is authorization end point an token end point in the case of FHIR services From Epic HOT 5
- Do not open browser HOT 5
- User cancelled flow HOT 2
- Using this lib for oAuth flow HOT 2
- Can this library be used on Android TV? HOT 3
- Oauth2.0
- [Spam] HOT 6
- Avoid Fatal Exception: net.openid.appauth.d: grant request is invalid in Firebase Crashlytics HOT 3
- Como la instalo con termux HOT 1
- Why Isn't AppAuth not using kotlin yet? HOT 2
- android.content.ActivityNotFoundException: When app opened HOT 5
- Incorrect documentation I think
- TokenResponse JSON parsing null values as "null" strings
- Zdd
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appauth-android.