mgomes / api_auth

HMAC authentication for Rails and HTTP Clients
MIT License
480 stars 147 forks source link

How to integrate with OAuth #48

Closed ghost closed 10 years ago

ghost commented 10 years ago

I am use api-auth gem for client app auth, but in system have user, user need to login and query my profile. So I want to integrate with OAuth, do you have any solution? Thanks!

mgomes commented 10 years ago

If your client application will be connecting to your server using individual user credentials, then you should probably just use OAuth.

This gem is meant for those cases where services or developers talk to other services. AWS products, for example, all use HMAC like api_auth whereas end user services like Facebook or Twitter use OAuth.