MaikuB / MaikuB/flutter_appauth
AuthorizationException: {"type":0,"code":8,"errorDescription":"Unable to parse ID Token"}
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 308
- Forks
- 301
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 5
Description
Hello!
I use:
```
Flutter 3.29.0
flutter_appauth: ^9.0.0
Android Deep Links
```
I have successfully logged in to my identity provider and am returning back to my application.
But then I get this exception: `FlutterAppAuthPlatformException`:
```
code: 8
domain: null
error: null
errorDebugDescription: AuthorizationException: {"type":0,"code":8,"errorDescription":"Unable to parse ID Token"}
errorDescription: Unable to parse ID Token
errorUri: null
rootCauseDebugDescription: org.json.JSONException: Value �k�2���g0�Le�X� of type java.lang.String cannot be converted to JSONObject
type: 0
```
I found a issue with the same problem but it is closed and the author did not write how he solved the problem: https://github.com/MaikuB/flutter_appauth/issues/536
Please help me understand what the problem is?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report names Flutter 3.29.0, flutter_appauth 9.0.0, Android deep links, and issue #536, but no repository file or test. Start by reproducing the Android callback and tracing the ID-token parsing exception; compare the result with issue #536. Done means the cause is identified and a documented fix or actionable reproduction is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, dart
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100