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

Login always returns to frontend page. #111

Open
JoaoCouto opened this issue Feb 8, 2021 · 1 comment
Open

Login always returns to frontend page. #111

JoaoCouto opened this issue Feb 8, 2021 · 1 comment
Labels

Comments

@JoaoCouto
Copy link

Description

At the backend url login page, when an administrator logins, he is redirected to home url and not the administrator area.

He then has to input the url again to enter the administration area, which has a different domain.

Step-by-step reproduction instructions

  1. Administrator inserts the administration area login url (backend.com/wp-admin).
  2. Administrator logs in correctly.
  3. Administrator is redirected to site home page (frontend.com).

Expected behaviour

  • Regular user logins (frontend.com/wp-login).
  • Regular user is redirected for home page (frontend.com).
  • Administrator logins (backend.com/wp-login)
  • Administrator is redirected to administration area (backend.com/wp-admin).

Actual behaviour

  • Regular user logins (frontend.com/wp-login).
  • Regular user is redirected for home page (frontend.com).
  • Administrator logins (backend.com/wp-login)
  • Administrator is redirected for home page (frontend.com).

WordPress information

  • PHP version: 7.4
  • WordPress version: 5.6.1
  • OneLogin's SAML PHP Toolkit version: 3.3.1

Device information

  • Device: All devices
  • Operating system: All
  • Browser: All
@greg-harrison
Copy link

Hi there!

We're experiencing the same issue with our project - Were you able to resolve this issue?

@pitbulk pitbulk added the bug label Jun 4, 2021
rms230 added a commit to rms230/wordpress-saml that referenced this issue Sep 28, 2021
pitbulk added a commit that referenced this issue Nov 2, 2021
Fix issue #111 - Login always returns to frontend page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants