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

Missing User Agent #876

Closed
4 tasks done
metinucar opened this issue Jun 30, 2023 · 6 comments
Closed
4 tasks done

Missing User Agent #876

metinucar opened this issue Jun 30, 2023 · 6 comments
Assignees
Labels
Scope: Improvement Code changes including new features or enhancements to the library.

Comments

@metinucar
Copy link

Checklist

  • I have looked into the Readme and the documentation, and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

We're doing user migrations in login and have both Auth0 plugin and database configured properly. This has been working fine but recently our hosting platform, WP Engine, implemented a security feature that blocks requests that do not contain User Agent information.

Apparently the endpoint /index.php?a0_action=migration-ws-get-user doesn't contain User Agent details at user creation and gets blocked. This results in users not being able to create account on our website.

WP Engine has implemented a temporary fix for 90 days and force us to make sure the request contains User Agent. So, I'm turning to you to see what you can do on plugin and Auth0 end to provide what they need in order to have a stable connection.

Thank you

Reproduction

  1. User clicks on login link on our website and then taken to the Universal Login page hosted on Auth0
  2. User enters email and password to create an account
  3. User receives something went wrong error message

Additional context

No response

wp-auth0 version

4.5.0

WordPress version

6.2.2

PHP version

7.4

@evansims evansims added the Scope: Improvement Code changes including new features or enhancements to the library. label Jul 10, 2023
@evansims evansims self-assigned this Jul 10, 2023
@evansims
Copy link
Member

Hey @metinucar 👋 Thanks for your feature request. Give me a bit to review this and see what we can do to improve things for you here.

@BryanSaxon
Copy link

Having this issue as well. @metinucar, how did you modify your script to send a valid user agent? Passing through the headers isn't working for us.

@metinucar
Copy link
Author

@BryanSaxon We couldn't do anything on our end. We asked our hosting provider to relax their rules about User Agents temporarily for 90 days. Waiting @evansims and the team to come up with a permanent solution.

@metinucar
Copy link
Author

@evansims Thank you for looking into this. Is there any update?

@evansims
Copy link
Member

Hi @metinucar, with v4 of the plugin exiting support, I'm afraid we won't be making any additional changes to that release at this time. v5 is currently available from the GitHub repository and will be offered as a direct upgrade from v4 on the Marketplace in the next few weeks.

@monjohn
Copy link

monjohn commented Jan 18, 2024

I don't see it added to the Marketplace yet. Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Improvement Code changes including new features or enhancements to the library.
Projects
None yet
Development

No branches or pull requests

4 participants