spree/spree — pull request #1512 by radar (2012-05-08 05:44:47+00:00)
Title: Custom authentication

Another month, another large pull request. Not content with ripping out pieces from the components of Spree, I decided to rip out an entire *component*. Particularly, the *auth* component.

The reason for this was because attempting to use Spree in application that already had authentication proved troublesome. By ripping this component out and adding in hooks (`Spree.user_class` and `Spree.current_user_method`) to core for user things, we can allow for people to embed Spree into their applications and to use their application's authentication setup, rather than forcing them to use Devise.

I am about to start working on a guide to document how you would go about doing this, and hopefully that would make it more clear.

Consider this the first draft for the custom authentication solution.