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

"search_engine=v2 is not available for your tenant because it is deprecated" error #562

Closed
4 tasks done
mufid opened this issue Oct 8, 2018 · 3 comments
Closed
4 tasks done
Assignees
Milestone

Comments

@mufid
Copy link

mufid commented Oct 8, 2018

Description

I've configured WP-Auth0. But then after trying to login, it says:

There was a problem with your log in:
{\"statusCode\":400,\"error\":\"Bad Request\",
\"message\":\"The User Search Engine v2 
(search_engine=v2) is not available for your tenant 
because it is deprecated. Please use the 
User Search Engine v3 instead (search_engine=v3).
For guidance on how to upgrade from v2 to v3, see
https://auth0.com/docs/users/search/v3#migrate-from-search-engine-v2-to-v3\",
\"errorCode\":\"operation_not_supported\"}
[error code: access_denied]

Prerequisites

  • Did you check the documentation? Yes, it only says API for migration for standard web app, but says nothing about this wordpress plugin
  • Did you check the Auth0 Community? Yes. Found this link, it says something about user API, but not sure if this is relevant
  • Did you check the WP.org Support Forum? Yes
  • Are there any related or duplicate Issues or PRs in this repo? No duplicate

Environment

Please provide the following:

  • WP-Auth0 version: 3.7.0
  • WordPress version: 4.9.8
  • PHP version: PHP 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 (cli)
  • Browser version, if applicable: Firefox 62.0.3 (64-bit)

Reproduction

  1. Create new tenant with Auth0
  2. Implement Wordpress by creating new Application, as in Auth0 official guide
  3. Trying logging in with Auth0

Expectation: can login as usual
Actual: It shows search_engine=v2 is not available for your tenant because it is deprecated

@cocojoe
Copy link
Member

cocojoe commented Oct 8, 2018

Thanks for the feedback, we will look into this.

@joshcanhelp
Copy link
Contributor

joshcanhelp commented Oct 8, 2018

@mufid - Thank you for the report here and apologies for the trouble. The fix here is:

  1. Go to your Auth0 dashboard > Rules
  2. Edit the Account-Linking-Do-Not-Rename Rule:

screenshot 2018-10-08 09 02 13

  1. On or around line 26, change v2 to v3

screenshot 2018-10-08 09 03 44

I'll put out a patch release to address other new installs.

@joshcanhelp
Copy link
Contributor

Releasing the patch on WP.org now.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants