You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Facebook really wants Site URL to end in a slash. Since omniauth is stripping the trailing slash from redirect_uri Facebook keeps returning a "Invalid redirect_uri: Given URL is not allowed by the Application configuration."
I was able to configure my Facebook application to have a Site URL without a trailing slash before but it seems like they've tightened up their controls in the last couple of months. Is there anyway to have omniauth not strip the trailing slash from redirect_uri?
The text was updated successfully, but these errors were encountered:
I think that one thing you can do is to set
OmniAuth.config.full_host = YOUR_URL
in your config/initializers/omniauth.rb without the trailing slash, if you always redirect to the same URL after authentication.
Facebook really wants Site URL to end in a slash. Since omniauth is stripping the trailing slash from redirect_uri Facebook keeps returning a "Invalid redirect_uri: Given URL is not allowed by the Application configuration."
I was able to configure my Facebook application to have a Site URL without a trailing slash before but it seems like they've tightened up their controls in the last couple of months. Is there anyway to have omniauth not strip the trailing slash from redirect_uri?
The text was updated successfully, but these errors were encountered: