I am using omniauth-twitter gem for user authentication in my rails app.
I am trying to implement dynamic callback by passing the callback_url as the paramater
/auth/twitter?oauth_callback=http://mynewwebsite.com
But twitter redirects to the callback_url specified in the twitter application settings. Am i missing anything here?
Is dynamic callback not supported by twitter? any other gem to implement this feature? Kindly help
No, there is no dynamic callback.
You could make a dispatcher: place the intended callback URL in a cookie, send the user to Twitter, get him back and then redirect him where his cookie tells you to.