oidc-wp / openid-connect-generic

WordPress plugin to provide an OpenID Connect Generic client
https://wordpress.org/plugins/daggerhart-openid-connect-generic/
261 stars 153 forks source link

Anchor links not working with OpenID plugin enabled #555

Open ChristinaK0127 opened 4 months ago

ChristinaK0127 commented 4 months ago

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]):

WordPress Environment