Omniauth in response included port used internally by nginx
this blog helped me a lot
http://awesomeprogrammer.com/blog/2012/12/09/dealing-with-omniauth-redirect-uri-mismatch-invalid-port-number-gotcha/
Omniauth sign in adds extra port to auth url
-
14-10-2022 - |
Pregunta
I am using the omniauth-facebook, omniauth-twitter, omniauth-google-oauth2
gems
for signing in, on localhost everything works fine, but in production it adds the port number 5050 to the authorization url, has anybody encountered this problem?
My site url is addthis.com
Twitter url
Facebook url:
Google url
The redirect URI in the request: http://addthis.com:5050/users/auth/google_oauth2/callback did not match a registered redirect URI
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow