Sohan's Blog

Things I'm Learning

Using Authlogic and Single Access Token for API Access

Bynarylogic’s authlogic has gained much popularity for its out of the box solution to ruby on rails authentication. Yesterday, I was working on giving API access to my ruby on rails application so that other apps can use my RESTful services. The authenticated API access usually involves the following steps:
  1. API_KEY or a token to identify/authenticate an API call.
  2. Authentication of an API caller using the API_KEY.
Authlogic comes with in-built support for this. The following steps will do it for you:


Thanks the clear explanation about single_access_token, I was looking for.