Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8860563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:17:14+00:00 2026-06-14T15:17:14+00:00

Using Rails OmniAuth on Facebook, there is a very subtle issue that I need

  • 0

Using Rails OmniAuth on Facebook, there is a very subtle issue that I need to fix.
My app is on Heroku and its default domain is myapp.herokuapp.com (suppose). I have my personal domain called hello.com, and whenever a user goes to hello.com, he is “forwarded” to myapp.herokuapp.com.

On Facebook dev center, there are App Domains field and Site URL field. I thought I had to put myapp.herokuapp.com into Site URL, and hello.com into App Domains, but it didn’t let me.

"hello.com" must be derived from one of: Site URL, Mobile Site URL, Canvas URL, Secure Canvas URL, Page Tab URL or Secure Page Tab URL.

So I just left App domains blank.

Everything seemed to work fine except for one thing. OmniAuth works fine when I go to my website through myapp.herokuapp.com. But when I go through hello.com, there is one little problem. When I’m not logged in Facebook already, it does not redirect me to the Facebook Log in page. So when I click on the login button, it loads for a few seconds but nothing happens (because it’s supposed to redirect me to the facebook website to log in there first but it just doesn’t) However, when I’m already logged in Facebook, it works fine.

I’m not sure what the problem is. My guesses:

  1. I’m setting App Domains & Site URL wrong.
  2. I did not set DNS yet. Heroku tells me I have to set the DNS to point to my domain, but I’m not sure what that means as I’ve never dealt with this. Right now, my personal domain, hello.com is simply forwarding to myapp.herokuapp.com. Is this what’s causing the problem?

Thank you for your help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T15:17:15+00:00Added an answer on June 14, 2026 at 3:17 pm

    The problem was that I didn’t set DNS, but just forwarded my herokuapp url to my custom domain. Instead of “forwarding,” you should set your DNS if you are having a similar problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Devise and OmniAuth (Facebook) in a Rails 3 app. I just started
I'm writing a Rails app that uses omniauth-facebook to authenticate the user against FB
We have a web app running on Rails, using Devise and OmniAuth for user
Using Rails 3.1.3 with Ruby 1.9.3p0. I've discovered that by default, Rails does not
I am using the paperclip gem with Omniauth (with Facebook) in a Rails 3
Hey so I cannot seem to get Facebook, OmniAuth, Rails, and Heroku to play
I'm trying to get Facebook logins working on my app using Rails, Authlogic, and
i have authenticated users using devise and omniauth facebook gem in my rails 3.2
I'm using omniauth-facebook gem with rails 3.2 and devise 2.0. I have a website
I'm using Rails, Devise, and Omniauth, and I'm trying to login using facebook connect.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.