Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation addition for edge case #2

Open
ultrawebsites opened this issue Feb 16, 2016 · 0 comments
Open

Documentation addition for edge case #2

ultrawebsites opened this issue Feb 16, 2016 · 0 comments

Comments

@ultrawebsites
Copy link

Great plugin, thanks.

Suggest you add to your documentation about the plugin, that if users are experiencing 404 errors on the wp-login.php page (404.15 errors, to be precise), that it may be because AAD is returning a URL greater than the IIS default maximum of 2000. We were experiencing this error as a result of using the plugin, and increasing the URL maximum resolved this issue.

This can be done in web.config, eg.:

<configuration>

        <system.webServer>
            <security>
                <requestFiltering>
                    <!-- Fix 404 error when querystring is too long when AAD redirects with code & token -->
                    <requestLimits maxQueryString="3000"/>
                </requestFiltering>
            </security>
        </system.webServer>
    </configuration>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant