Is it possible in a Facebook application to set the Site URL to a value without a trailing slash? Facebook appears to be doing everything in it’s power to ensure Site URL has a trailing slash.
I’m asking because I’m using OmniAuth in a Rails 3 application always strips trailing slashes from the redirect_uri parameter. Thus giving me a “Invalid redirect_uri: Given URL is not allowed by the Application configuration.” error.
I handled this in my app by providing the following in my app/initializers/omniauth.rb
Dedpending on your production setup, your mileage may vary