MaikuB / MaikuB/flutter_appauth
Android Redirection on HTTPS callback scheme
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 308
- Forks
- 301
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 5
Description
My redirect URI is an Azure B2C link that is an https scheme, upon a successful login, I do not seem to redirect back to the main client. This was working a few weeks ago, but when I went to reload it and test it a few days ago, it would simply not redirect back...
I know all my links are correct (redirectUri, authEndpoint,tokenEndpoint, discoveryURL, clientID etc) when utilizing AuthorizeAndExchangeCode... which means the issue must be either my build.gradle or my AndroidManifest.xml from what I understand.
My AndroidManifest has added a new activity of net.openid.appauth.RedirectUriRecieverActivity with an intent filter that contains VIEW, DEFAULT, BROWSER, and the following:
"/>
and my build.gradle has the manifest placeholder of
'appAuthRedirectScheme' = 'https',
'appAuthRedirectHost' = '',
'appAuthRedirectPath' = ''
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 by inspecting the AndroidManifest.xml intent filter for RedirectUriRecieverActivity and the manifest placeholders in build.gradle, then reproduce the successful login through AuthorizeAndExchangeCode. Done means the HTTPS Azure B2C callback returns to the main client after authentication.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, dart, flutter
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100