Implement custom login page using Ruby on Rails

Hi all,

We are trying to use auth0 with a custom login page on our RoR web app. But we can’t seem to find any documentation or samples around how to do this.
The requirement is to be able to authenticate users for both sign up and sign in with email + password or Facebook without leaving our app, and keeping our apps current interface.
Any help would be much appreciated.
TIA