phurni / authlogic_api

Authlogic plugin to allow API requests to be authenticated automatically by using an api_key/signature mechanism
MIT License
53 stars 7 forks source link

Rails 3: authlogic_api throws SystemStackError (stack level too deep) #5

Open dave-thompson opened 12 years ago

dave-thompson commented 12 years ago

In Rails 3, authlogic_api throws SystemStackError (stack level too deep) when saving acts_as_authentic models. This error occurs both for User models which use only core authlogic (rather than authlogic_api) as well as for Client models which require authlogic_api. Removing authlogic_api but keeping authlogic resolves this error for User models.

talyaniv commented 12 years ago

What if I want my application to do have both User and Client models? For example - I want users to authenticate with core authlogic and use certain routes and remote API clients to authenticate using authlogic_api and consume services. Can they live in harmony side by side?