pnp / pnp/pnpframework

GetWebLoginClientContext gives "out-of-date browser" problem

Open
#832 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
259
Forks
161
Avg merge
10h 33m
Merged PRs (30d)
1

Description

Following this issue, I have copied the code for GetWebLoginClientContext and implemented it in my project. However, I get this out-of-date browser error because the code uses System.Windows.Forms.WebBrowser which uses the old built-in browser.
Capture

What are the alternative ways of implementing this? My client has MFA turned on so the application needs to have this Web Login to go through the MFA steps.

Contributor guide

No contributing guide indexed for this repository

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 with the GetWebLoginClientContext implementation from the linked issue and inspect its use of System.Windows.Forms.WebBrowser. Determine how the existing flow handles the client's MFA requirement and define a supported replacement that completes web login without the obsolete browser; done means the MFA flow works for the reported scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authentication, desktop
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.