MaikuB / MaikuB/flutter_appauth
Multi tenant in iOS
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 308
- Forks
- 301
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 5
Description
i can use this url to authenticate in Android but in iOS i have this issue:
PlatformException(discovery_failed, Error retrieving discovery document: JSON error parsing document at 'https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration': Invalid URL: issuer, null, null)
my code:
result = await appauth.authorizeAndExchangeCode(
AuthorizationTokenRequest(
_clientId,
_redirectURL,
discoveryUrl: 'https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration',
scopes: _scopes,
),
);
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 reproducing the iOS failure with the shown discovery URL and the AuthorizationTokenRequest call, then compare its behavior with Android. Done means the Microsoft multi-tenant discovery document is accepted on iOS and authorization completes without the discovery_failed error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter, ios
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100