Connect to a rails app with Ember, pass over information needed to make an API client with an Oauth provider, do that, then persist the client in a session.