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

Too many redirect URL error #261

Open
amarvora opened this issue Feb 13, 2023 · 2 comments
Open

Too many redirect URL error #261

amarvora opened this issue Feb 13, 2023 · 2 comments

Comments

@amarvora
Copy link

I am using this plugin since long and it works perfectly fine.. But Sometime I am getting error of "Too many redirection" and it get stucks for 30 to 45 minutes. And after that it automatically start working. I don't know why this error occur? And this error is not producing frequently it's happening once in a month. In my Azure Panel there are 2 redirection url which is like below.

  1. https://www.abc.com/
  2. https://www.abc.com/wp-login.php

I think due to legacy value of session or token it's redirecting to wp-login.php page.. and Microsoft again redirecting to home page URL,. But I am not sure. Can anyone help me to resolve this issue?

Thank you

@psignoret
Copy link
Owner

Can you share details for your WordPress installation (version, other plugins, hosting platform), and how you've configured the plugin (e.g. which options have you enabled)?

@amarvora
Copy link
Author

amarvora commented Feb 13, 2023

Sure I am attaching the screenshot of Microsoft Azure Redirect URL, also Wordpress Azure Settings and PHP Code were I am doing customization for preventing error of "too many redirection" but i m not getting what to do. (I am just doing session destroy for "aadsso_antiforgery-id" and "redirect_to" may be this are the legacy session value and that's why it's redirecting. (But this is my assumption)

I am using Wordpress 4.9.5 and php 5.5, Plugin version is 0.7.0 hosting server is linux centos 6 (it's dedicated server)

code
wordpress-screenshot
azure-screenshot

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

2 participants