Title: Invalid redirection
Last modified: August 29, 2018

---

# Invalid redirection

 *  Resolved [—](https://wordpress.org/support/users/educationguideonline/)
 * (@educationguideonline)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/invalid-redirection/)
 * After setting OAuth redirect uri proxy page to my custom Login page, login page
   automatically redirecting to homepage without login.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finvalid-redirection%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Ramona](https://wordpress.org/support/users/nextend_ramona/)
 * (@nextend_ramona)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/invalid-redirection/#post-10637380)
 * Hi [@educationguideonline](https://wordpress.org/support/users/educationguideonline/)
 * I tried logging in but I get this message from Facebook: “We could not log you
   in: You can’t log in to this app or website because you do not meet the requirements
   for country, age or other criteria.”
 * Could you please lift these limitations to be able to see the problem?
 *  [Ramona](https://wordpress.org/support/users/nextend_ramona/)
 * (@nextend_ramona)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/invalid-redirection/#post-10637546)
 * Hi [@educationguideonline](https://wordpress.org/support/users/educationguideonline/)
 * After reading your topic again, is it possible that your setup looks like this:
   
   1. There’s a custom login page, let’s call it /login/ 2. This /login/ page is
   set as the “OAuth redirect uri proxy” page
 * Please create a new page and select it instead, because the functions that are
   needed by the OAuth redirection disable the default page and redirect back to
   the home page unless the URL contains ?loginSocial=facebook
 * So if you visit the page: [http://example.com/login](http://example.com/login)
   
   you’ll be taken to the home page, because Nextend Social Login takes over this
   page and using this URL it can’t recognize a proper redirect URI. But if the 
   URL contains the ?loginSocial=facebook, so it looks like this: [http://example.com/login/?loginSocial=facebook](http://example.com/login/?loginSocial=facebook)
   that recognized as a Nextend Social Login’s login action.
 * So if you would have set the “OAuth redirect uri proxy page” to your custom login
   page, please create a new custom page and select that, otherwise your custom 
   login page will not be accessible outside of Nextend Social Login’s login/register
   action.
 *  Thread Starter [—](https://wordpress.org/support/users/educationguideonline/)
 * (@educationguideonline)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/invalid-redirection/#post-10657570)
 * The issue has been solved

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Invalid redirection’ is closed to new replies.

 * ![](https://ps.w.org/nextend-facebook-connect/assets/icon.svg?rev=3336394)
 * [Nextend Social Login and Register](https://wordpress.org/plugins/nextend-facebook-connect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextend-facebook-connect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextend-facebook-connect/)
 * [Active Topics](https://wordpress.org/support/plugin/nextend-facebook-connect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextend-facebook-connect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextend-facebook-connect/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [—](https://wordpress.org/support/users/educationguideonline/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/invalid-redirection/#post-10657570)
 * Status: resolved