I have configured Hybridauth social media module for my drupal. I have one main domain and sub-domain configured with my website. I have configured some rule for redirecting to home page with some conditions.

With that, For login, I have configured hybridauth for google and Facebook. In both the login process, The behavior is same, Once i enter credentials of facebook or google account, It shows me Closing.... message, If i remove Url parameter, It shows me logged in page of my drupal site.

Please help me to solve out this problem. Thank you in advance.

  • Means login is working or not? which rule you have configured for redirecting? – vgoradiya Sep 21 '15 at 5:25
  • Login is working very well. But When i am trying to logging in using Facebook or Gmail, It shows me message on white screen "Closing....." . And when i remove url parameters except my site url, it shows me logged in with Facebook or gmail. – Viraj Sep 21 '15 at 5:47
  • what you have set in redirect path in configuration of hybridauth >> other settings >> Redirect after login? – vgoradiya Sep 21 '15 at 6:55
  • No. No. I didn't set that. It is blank only. But i have set path using rules. – Viraj Sep 21 '15 at 7:04
  • Try using [HTTP_REFERER] with redirect after login. – vgoradiya Sep 21 '15 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.