You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Sorcery project is not actively maintained. I (@arnvald) try to keep looking at issues and help with any problems, but I don't develop the library anymore.
10
-
Therefore if you are interested in taking over the project, please check this issue: [https://github.com/NoamB/sorcery/issues/777](https://github.com/NoamB/sorcery/issues/777)
[](https://gitter.im/Sorcery/sorcery?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
11
9
12
10
## Project
13
11
14
-
[](https://gitter.im/NoamB/sorcery?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
15
12
Magical Authentication for Rails. Supports ActiveRecord,
16
13
DataMapper, Mongoid and MongoMapper.
17
14
18
15
Inspired by restful_authentication, Authlogic and Devise. Crypto code taken
19
16
almost unchanged from Authlogic. OAuth code inspired by OmniAuth and Ryan
20
17
Bates's railscasts about it.
21
18
22
-
**Rails 5 status:**[Sorcery 0.9.1](http://rubygems.org/gems/sorcery/versions/0.9.0) should work fine with Rails 5. We can't guarantee it at this point, though, so please open an issue for any problem with Rails 5.
19
+
**Rails 5 status:**[Sorcery 0.9.1](http://rubygems.org/gems/sorcery/versions/0.9.1) should work fine with Rails 5. We can't guarantee it at this point, though, so please open an issue for any problem with Rails 5.
20
+
23
21
**Rails 4 status:**[Sorcery 0.9.0](http://rubygems.org/gems/sorcery/versions/0.9.0) is fully tested and ready for Rails 4.0, 4.1 and 4.2.
22
+
24
23
**Mongoid status:** Version 0.9.0 works with Mongoid 4.
* login/logout, optional return user to requested url on login, configurable
197
204
redirect for non-logged-in users.
@@ -201,7 +208,7 @@ STI is supported via the `user.subclasses_inherit_config` setting in config/init
201
208
* allow multiple fields to serve as username.
202
209
203
210
204
-
**User Activation** (see [lib/sorcery/model/submodules/user_activation.rb](https://github.com/NoamB/sorcery/blob/master/lib/sorcery/model/submodules/user_activation.rb)):
211
+
**User Activation** (see [lib/sorcery/model/submodules/user_activation.rb](https://github.com/Sorcery/sorcery/blob/master/lib/sorcery/model/submodules/user_activation.rb)):
205
212
206
213
* User activation by email with optional success email.
207
214
* configurable attribute names.
@@ -210,49 +217,49 @@ STI is supported via the `user.subclasses_inherit_config` setting in config/init
210
217
* Optionally prevent non-active users to login.
211
218
212
219
213
-
**Reset Password** (see [lib/sorcery/model/submodules/reset_password.rb](https://github.com/NoamB/sorcery/blob/master/lib/sorcery/model/submodules/reset_password.rb)):
220
+
**Reset Password** (see [lib/sorcery/model/submodules/reset_password.rb](https://github.com/Sorcery/sorcery/blob/master/lib/sorcery/model/submodules/reset_password.rb)):
214
221
215
222
* Reset password with email verification.
216
223
* configurable mailer, method name, and attribute name.
217
224
* configurable temporary token expiration.
218
225
* configurable time between emails (hammering protection).
219
226
220
227
221
-
**Remember Me** (see [lib/sorcery/model/submodules/remember_me.rb](https://github.com/NoamB/sorcery/blob/master/lib/sorcery/model/submodules/remember_me.rb)):
228
+
**Remember Me** (see [lib/sorcery/model/submodules/remember_me.rb](https://github.com/Sorcery/sorcery/blob/master/lib/sorcery/model/submodules/remember_me.rb)):
222
229
223
230
* Remember me with configurable expiration.
224
231
* configurable attribute names.
225
232
* configurable to persist globally (supporting multiple browsers at the same time), or starting anew after each login
226
233
227
234
228
-
**Session Timeout** (see [lib/sorcery/controller/submodules/session_timeout.rb](https://github.com/NoamB/sorcery/blob/master/lib/sorcery/controller/submodules/session_timeout.rb)):
235
+
**Session Timeout** (see [lib/sorcery/controller/submodules/session_timeout.rb](https://github.com/Sorcery/sorcery/blob/master/lib/sorcery/controller/submodules/session_timeout.rb)):
229
236
230
237
* Configurable session timeout.
231
238
* Optionally session timeout will be calculated from last user action.
232
239
233
240
234
-
**Brute Force Protection** (see [lib/sorcery/model/submodules/brute_force_protection.rb](https://github.com/NoamB/sorcery/blob/master/lib/sorcery/model/submodules/brute_force_protection.rb)):
241
+
**Brute Force Protection** (see [lib/sorcery/model/submodules/brute_force_protection.rb](https://github.com/Sorcery/sorcery/blob/master/lib/sorcery/model/submodules/brute_force_protection.rb)):
235
242
236
243
* Brute force login hammering protection.
237
244
* configurable logins before lock and lock duration.
238
245
239
246
240
-
**Basic HTTP Authentication** (see [lib/sorcery/controller/submodules/http_basic_auth.rb](https://github.com/NoamB/sorcery/blob/master/lib/sorcery/controller/submodules/http_basic_auth.rb)):
247
+
**Basic HTTP Authentication** (see [lib/sorcery/controller/submodules/http_basic_auth.rb](https://github.com/Sorcery/sorcery/blob/master/lib/sorcery/controller/submodules/http_basic_auth.rb)):
241
248
242
249
* A before action for requesting authentication with HTTP Basic.
243
250
* automatic login from HTTP Basic.
244
251
* automatic login is disabled if session key changed.
245
252
246
253
247
-
**Activity Logging** (see [lib/sorcery/model/submodules/activity_logging.rb](https://github.com/NoamB/sorcery/blob/master/lib/sorcery/model/submodules/activity_logging.rb)):
254
+
**Activity Logging** (see [lib/sorcery/model/submodules/activity_logging.rb](https://github.com/Sorcery/sorcery/blob/master/lib/sorcery/model/submodules/activity_logging.rb)):
248
255
249
256
* automatic logging of last login, last logout, last activity time and IP
250
257
address for last login.
251
258
* configurable timeout by which to decide whether to include a user in the
252
259
list of logged in users.
253
260
254
261
255
-
**External** (see [lib/sorcery/controller/submodules/external.rb](https://github.com/NoamB/sorcery/blob/master/lib/sorcery/controller/submodules/external.rb)):
262
+
**External** (see [lib/sorcery/controller/submodules/external.rb](https://github.com/Sorcery/sorcery/blob/master/lib/sorcery/controller/submodules/external.rb)):
256
263
257
264
* OAuth1 and OAuth2 support (currently: Twitter, Facebook, Github, Google, Heroku,
0 commit comments