MaikuB / MaikuB/flutter_appauth

Multi tenant in iOS

Open
#466 2 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.