• Resolved jianping cheng

    (@chengjianping)


    Fix Oauth Redirect URIs

    Nextend Social Login detected that your login url changed. You must update the Oauth redirect URIs in the related social applications.Google

    1. Navigate to https://console.developers.google.com/apis/
    2. Log in with your Google credentials if you are not logged in
    3. Click on the “Credentials” in the left hand menu
    4. Under the “OAuth 2.0 Client IDs” section find your Client ID: 993333837962-u61ibnl28c3ssurnvjht65vf2rcncv47.apps.googleusercontent.com
    5. Under the “Authorised redirect URIs” section click “Add URI” and add the following URL:

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Robert

    (@robertnextendweb)

    Hi @chengjianping

    If I take a look at the page:
    https://luxesensychic.com/wp9217
    it does not exist. So I assume you already disabled this page.

    And I see in the meantime you configured the Oauth redirect uri proxy page, which will make Nextend Social Login handle its login flow over that page. This will make the redirect uri change as well, which should resolve the problem you saw. That notice appears when the stored redirect uri is different to what you need to use. For example, by default we handle our flows over the /wp-login.php page, but if you have a url that points to the /wp-login.php page, then we could discover that, and suggest that for the redirect uri, which could result in a problem like this. The solution is to either disable the wp-login.php page, and keep the other login url, or a more practical solution is to configure our “Oauth redirect uri proxy page” and “Page for register flow” settings. Both of these can be found on the general tab:
    https://nextendweb.com/nextend-social-login-docs/global-settings/

    And you should configure them in the following way:

    • For the Page for register flow: You should create a new page and add the shortcode into it: [nextend_social_login_register_flow] then select that page for this setting. Extra information before the registration with social login – like Terms and Conditions, Username, Password, Email – would be asked on this page. ( Make sure you don’t use this page for anything else! )
    • For the OAuth redirect uri proxy page: You should create another new and completely empty page ( that you won’t use for anything else either ) and select it as OAuth redirect uri proxy page. Once it is done, the redirect URL of each configured provider will change, as the OAuth flow will be handled over this new page instead of the /wp-login.php page. So, you will need to add the new redirect URLs into each of your configured Apps again. ( Nextend Social Login will also warn you about this with a message, where you can see all the steps, but actually, you can find the redirect URLs in the Getting Started section of the providers, too. – The redirect URLs are the URLs that usually contain this query string: “?loginSocial=” )

    Additionally, you must ensure that both of these pages are excluded from all kinds of caching, as we need to run PHP codes on these pages, which won’t be possible if they are cached. I see you already configured the Oauth redirect uri proxy page, but it appears that you either selected the same page for the Page for register flow, or you did not select anything, and like that the social login does not work when you want to register.

    Let me know if you still have problems after this!

Viewing 1 replies (of 1 total)

The topic ‘Prompt link error’ is closed to new replies.