Jump to content

The ultimate community for Ruby on Rails developers.


Photo

User authentication -- alternative to Devise?

authencication

  • Please log in to reply
3 replies to this topic

#1 digitig

digitig

    Passenger

  • Members
  • 2 posts

Posted 23 June 2014 - 12:26 PM

I'm working on an app that needs user authentication, and at the moment I'm using Devise. But Devise seems to be built around a chatroom-style usage model, where anybody can come along and ask for account. I need something more like an operating system's user model, where only designated administrators can create and manage accounts and all the users can do with their account settings is stuff like change or reset their passwords. Oh, and more than one account can be associated with one email address.

 

It looks as if Devise can do that, but I seem to be fighting against it at every step of the way, so I'm beginning to suspect it's the wrong tool for my particular job. Are there any more appropriate tools available?



#2 Ohm

Ohm

    Driver

  • Moderators
  • 451 posts
  • LocationCopenhagen

Posted 23 June 2014 - 03:39 PM

I've done something similar in one of my hobby projects, where administrators are able to create new administrators.

 

This is done with AuthLogic (https://github.com/b...logic/authlogic)


Blog: http://ohm.sh | Twitter: @madsohm | Work: Lokalebasen.dk


#3 digitig

digitig

    Passenger

  • Members
  • 2 posts

Posted 08 July 2014 - 02:23 PM

I've done something similar in one of my hobby projects, where administrators are able to create new administrators.

 

This is done with AuthLogic (https://github.com/b...logic/authlogic)

Looked promising, but all the links to the detailed documentation appear to be broken, and some of the links to other bits of the documentation go to pages that say it's been moved. I don't understand what some bits of the tutorial are dong (`acts_as_authentic`?) and when I try to look them up the documentation isn't there.

 

The last commit was in 2009, so it looks as if it's no longer active or supported, which is a pity because it might well have done the job.



#4 Ohm

Ohm

    Driver

  • Moderators
  • 451 posts
  • LocationCopenhagen

Posted 08 July 2014 - 03:33 PM

Uhm, are you sure you clicked on my link?

 

Last commit to https://github.com/b...logic/authlogic was two months ago and their documentation is here: http://rubydoc.info/gems/authlogic/frames or https://github.com/binarylogic/authlogic/wiki


Blog: http://ohm.sh | Twitter: @madsohm | Work: Lokalebasen.dk





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users