Authlogic is a clean, simple, and unobtrusive ruby authentication solution.
Questions tagged [authlogic]
718 questions
5
votes
1 answer
Rest-client log in with authlogic
I am trying to use the Rest-client gem to do a few small tasks for my app which uses Authlogic to authenticate users. From Rest-Client's API, I see that one can post data necessary for the log-in process like this:
require…

Nik So
- 16,683
- 21
- 74
- 108
5
votes
1 answer
How do I write and test password changes when using Authlogic?
An application I inherited has the following action for updating a user's profile:
class UsersController < ApplicationController
# ...
def update
@user = current_user
if @user.update_attributes(params[:user])
flash[:notice] =…

James A. Rosen
- 64,193
- 61
- 179
- 261
5
votes
5 answers
Force validation of blank passwords in Authlogic
I'm adding a password reset feature to my Rails application that uses Authlogic. I was following the guide here: http://www.binarylogic.com/2008/11/16/tutorial-reset-passwords-with-authlogic/ and everything works as I'd like except for one thing:…

Jimmy
- 35,686
- 13
- 80
- 98
5
votes
0 answers
Rails 3: Error with Authlogic in console
I'm trying create some users in the console. I'm getting the following error:
Authlogic::Session::Activation::NotActivatedError: You must activate the Authlogic::Session::Base.controller with a controller object before creating object
This error…

Alexandra
- 51
- 3
5
votes
1 answer
Rails4 + Authlogic + rspec
Using Rails 4, I am having issues getting Authlogic to see my faked UserSession.
I have set up pages#whoami to render the current user's email address, as a simplistic test.
class PagesController < ApplicationController
# before_filter…

MustModify
- 657
- 10
- 20
5
votes
6 answers
Sending registration verification e-mails using Authlogic?
Is there any way I can get authlogic to send email to my subscribers after they have registered so that they can confirm their account?

nacho10f
- 5,816
- 6
- 42
- 73
5
votes
5 answers
Multiple applications using Authlogic, authenticating users in one database?
I've seen the question asked a few times on the Google groups but no one seems to follow-up with an answer or solution.. Is it possible to use a central database for User creation and authentication from multiple Rails applications using Authlogic?…

revgum
- 1,147
- 8
- 22
5
votes
2 answers
AuthLogic seems to update the user record multiple times for one request
For one action request I see about 6 counts of what seems to be AuthLogic related record updates for the User model. I am wondering if this is normal, or if anyone else has encountered this and what can I do about it. I'm still trying to track down…

Victor S
- 5,098
- 5
- 44
- 62
5
votes
1 answer
What can Devise do that Authlogic can't?
The rails community seems to be leaving Authlogic in favor of Devise. I have been using Authlogic for over a year and would like to know what the reasons are. Is it just marketing, or is there a good reason for this? I have used Devise and prefer…

dingalingchickenwiing
- 1,937
- 3
- 20
- 30
4
votes
1 answer
No route matches "/oauth/authorize"
I've started integrating Omniauth 1.0 into my Rails/Authlogic application and I get a route error when I try to access localhost:3000/auth/facebook.
Are we supposed to create a custom route for each /auth/strategy we want, or is there something else…

sscirrus
- 55,407
- 41
- 135
- 228
4
votes
1 answer
Authlogic undefined method `login_field' for Object:Class
I'm trying to set up Authlogic as my default authentication system. I want the user to be able to log in using either their username or email. To accomplish this, I did the following:
app/model/user.rb:
class User < ActiveRecord::Base
#add…

LandonSchropp
- 10,084
- 22
- 86
- 149
4
votes
1 answer
Authlogic and iPhone app login
This has been a head-banger for me. I have looked at all of the similar questions on SO and none have proved satisfactory. Here's my go at it.
I have a perfectly fine rails 3 app setup with Authlogic.
I have been using Objective Resource…

Peter Andersen
- 461
- 3
- 7
4
votes
2 answers
Current_user nil after creating a session in ROR with AuthLogic
I'm having a bit of problems with AuthLogic and current_user.
I have a Flex4 application using the Cairngorm framework as the front-end, and Ruby On Rails as the back-end.
I can log in fine through a browser, and when only using ROR. However, when…

mclarenf3
- 41
- 2
4
votes
2 answers
scrypt unable to install via authologic
I'm working with a Rails app that uses authlogic. The scrypt crypto algorithim is included (although not used). I'm gettting this error on my Mac. How do I resovle?
Why is i386 being thought as platform? I really don't care about scrypt - how can I…

timpone
- 19,235
- 36
- 121
- 211
4
votes
0 answers
Replicating Rails/AuthLogic Scrypt Hash Comparison on Node/Express Server
I'm working on a migrating an older ruby-on-rails site to node/express/react/redux, and I've run smack into a wall on authenticating users' existing passwords. The site is currently using AuthLogic(scrypt) for authentication/password hashing, with…

Reid Henderson
- 51
- 3