Giter Site home page Giter Site logo

Comments (2)

jprknight avatar jprknight commented on May 19, 2024

case 456:
/////////////////////////////
//
// HTTP 456: Multi-Factor Required.
//
/////////////////////////////
if (this.session.utilFindInResponse("you must use multi-factor authentication", false) > 1)
{
this.session["ui-backcolor"] = HTMLColourRed;
this.session["ui-color"] = "black";
this.session["X-ExchangeType"] = "!Multi-Factor Auth!";

                        this.session["X-ResponseAlertTextBox"] = "HTTP 456 Multi-Factor Authentication";
                        this.session["X-ResponseCommentsRichTextboxText"] = "HTTP 456: See details on Raw tab. Look for the presence of 'you must use multi-factor authentication'." +
                            Environment.NewLine +
                            Environment.NewLine +
                            "This has been seen where users have MFA enabled/enforced, but Modern Authentication is not enabled in the Office 365 service being connected to" +
                            Environment.NewLine +
                            Environment.NewLine +
                            "See https://support.office.com/en-us/article/Enable-or-disable-modern-authentication-in-Exchange-Online-58018196-f918-49cd-8238-56f57f38d662" +
                            Environment.NewLine +
                            Environment.NewLine +
                            "https://social.technet.microsoft.com/wiki/contents/articles/36101.office-365-enable-modern-authentication.aspx";

                        if (bAppLoggingEnabled)
                        {
                            FiddlerApplication.Log.LogString("EXOFiddlerExtention: " + this.session.id + " HTTP 456 Multi-Factor Required!");
                        }
                    }
                    else if (this.session.utilFindInResponse("oauth_not_available", false) > 1)
                    {
                        this.session["ui-backcolor"] = HTMLColourRed;
                        this.session["ui-color"] = "black";
                        this.session["X-ExchangeType"] = "!Multi-Factor Auth!";

                        this.session["X-ResponseAlertTextBox"] = "HTTP 456 Multi-Factor Authentication";
                        this.session["X-ResponseCommentsRichTextboxText"] = "HTTP 456: See details on Raw tab. Look for the presence of 'oauth_not_available'." +
                            Environment.NewLine +
                            Environment.NewLine +
                            "This has been seen where users have MFA enabled/enforced, but Modern Authentication is not enabled in the Office 365 service being connected to" +
                            Environment.NewLine +
                            Environment.NewLine +
                            "See https://support.office.com/en-us/article/Enable-or-disable-modern-authentication-in-Exchange-Online-58018196-f918-49cd-8238-56f57f38d662" +
                            Environment.NewLine +
                            Environment.NewLine +
                            "https://social.technet.microsoft.com/wiki/contents/articles/36101.office-365-enable-modern-authentication.aspx";

                        if (bAppLoggingEnabled)
                        {
                            FiddlerApplication.Log.LogString("EXOFiddlerExtention: " + this.session.id + " HTTP 456 Multi-Factor Required!");
                        }
                    }
                    else
                    {
                        this.session["ui-backcolor"] = HTMLColourOrange;
                        this.session["ui-color"] = "black";
                        this.session["X-ExchangeType"] = "Multi-Factor Auth?";

                        this.session["X-ResponseAlertTextBox"] = "HTTP 456 Multi-Factor Authentication?";
                        this.session["X-ResponseCommentsRichTextboxText"] = "HTTP 456: See details on Raw tab. Is Modern Authentication disabled?" +
                            Environment.NewLine +
                            Environment.NewLine +
                            "This has been seen where users have MFA enabled/enforced, but Modern Authentication is not enabled in the Office 365 service being connected to" +
                            Environment.NewLine +
                            Environment.NewLine +
                            "See https://support.office.com/en-us/article/Enable-or-disable-modern-authentication-in-Exchange-Online-58018196-f918-49cd-8238-56f57f38d662" +
                            Environment.NewLine +
                            Environment.NewLine +
                            "https://social.technet.microsoft.com/wiki/contents/articles/36101.office-365-enable-modern-authentication.aspx";

                        if (bAppLoggingEnabled)
                        {
                            FiddlerApplication.Log.LogString("EXOFiddlerExtention: " + this.session.id + " HTTP 456 Multi-Factor Required.");
                        }
                    }
                    //
                    /////////////////////////////
                    break;

from office365fiddlerextension.

jprknight avatar jprknight commented on May 19, 2024

Fix in new version.

from office365fiddlerextension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.