openid-connect-generic icon indicating copy to clipboard operation
openid-connect-generic copied to clipboard

Anchor links not working with OpenID plugin enabled

Open ChristinaK0127 opened this issue 1 year ago • 0 comments

Describe the bug We use the OpenID plugin for SSO on our WordPress websites. We have a customer that is using anchor links on their webpage and has sent out customer communications directing users to a specific part of the page. When the OpenID plugin is enabled, users are not directed to that part of the page on the initial authentication. On our configuration page for OpenID plugin we have the option selected to "redirect back to origin page". Is there a limitation with the OpenID plugin and the use of anchor links on a page. This website that we are reporting about is highly used for corporate communications, so any feedback or insight you can provide would be appreciative.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://sample.com/sample/#anchorlink
  2. Authentication occurs via SSO
  3. User is redirected to https://sample.com/sample

Screenshots N/A

Expected behavior The expectation is that when you click the link provided by the user, you will be directed to that section of the page identified by the anchor link in the URL.

Isolating the problem (mark completed items with an [x]):

  • [X] I have deactivated other plugins and confirmed this bug occurs when only this plugin is active.
  • [X] This bug happens with a default WordPress theme active.
  • [X] I can reproduce this bug consistently using the steps above.

WordPress Environment

  • Website URL: N/A
  • PHP Version: 8.1.27
  • WordPress Version: 6.5.4
  • Plugin Version: 3.10
  • Identity Provider:
  • Relevant Plugin Settings:

ChristinaK0127 avatar Jul 18 '24 16:07 ChristinaK0127