Topic: Using Oauth 2 in RoR

Hi all,

I'm trying to use Devise and OAuth-plugin to build an API server. Everything is OK now but I want to do a little change. As you knew, OAuth has a login via web browser at the first step. But I want to change it because my server will be used by a mobile app and need make the authentication easier.

I mean the app no need to show web browser for login, just use an API for login instead. But it's not security and have to do many customizations.

So would you like tell me some ways to implement OAuth 2 for API server to solve my problems above ?

Thanks
An Nguyen