openid / openid/AppAuth-iOS

Unable to redirect bypass login when tapped on Button

Open
#670 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
2k
Forks
867
Avg merge
4d 48m
Merged PRs (30d)
1

Description

When User taps on login button. I am calling
OIDAuthorizationService.discoverConfiguration(forIssuer: issuer) { [self] configuration, error in guard let config = configuration else { print("Error retrieving discovery config document: \(error?.localizedDescription ?? "Unknown error")") return } if let client = clientID { self.doAuthWithAutoCodeExchange(configuration: config, clientID: client, clientSecret: nil, params:params, vc:vc) } }
method and passing the URL, we get configuration.
Once configuration is obtained the I will be calling the below method with params {idpHint: "INFY-AD-OIDC"} value as dictionary
OIDAuthorizationRequest(configuration: configuration, clientId: clientID, clientSecret: clientSecret, scopes: [OIDScopeOpenID], redirectURL: redirectURI, responseType: OIDResponseTypeCode, additionalParameters: params)

Here I will be getting id Token, Refresh token, Access token.
Basically with the params It has to redirect to MFA(Microsoft Authentication page) instead it is staying on the same page.
Please do suggest me how can I bypass navigation to MFA.

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

The report mentions OIDAuthorizationService.discoverConfiguration and OIDAuthorizationRequest but names no repository file, test, or reproducible project. Start by reviewing the reported request flow and determine whether the MFA redirect behavior is an SDK issue or provider configuration; done would require a clearly reproducible failure and an agreed change or explanation.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
authentication, mobile
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.