MaikuB / MaikuB/flutter_appauth
Possibility to Authorize as GET request without navigating to browser
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 308
- Forks
- 301
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 5
Description
When calling authorize, an AuthorizationRequest can be created with all information that is on hand, and values for nonce, codeVerifier/codeChallenge and state are created within the package via method channels when calling authorize, after which the browser is opened with that input.
However, we require a GET request for the authorization first step and need to handle the response manually since we navigate to a separate authorization app using elements of the response.
Currently, we therefore manually create the required request, filling values for nonce, codeVerifier/codeChallenge and state, and perform a GET with an url compiled from that request. But we would really appreciate it if this can be done via your package.
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
Start at the package's authorize entry point and AuthorizationRequest handling, then trace the method-channel creation of nonce, codeVerifier/codeChallenge, and state before browser launch. Define an API that exposes the authorization GET request and its response without navigation, covering both Android and iOS behavior. Done means callers can perform the first request and handle its response manually.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, dart, flutter, ios
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100