The devise oauth2 gem supports custom callback routes after signin in. devise-twitter should support them too.