Rails Authlogic - no documentation about SingleAccessToken
Posted
by northox
on Stack Overflow
See other posts from Stack Overflow
or by northox
Published on 2010-04-02T01:39:11Z
Indexed on
2010/04/02
1:43 UTC
Read the original article
Hit count: 395
authlogic
|ruby-on-rails
I been searching how to use the single access token in Authlogic but there is no consistent documentation on the web. Anyone knows how it work?
Presently, I have this:
class UserSession < Authlogic::Session::Base
single_access_allowed_request_types = :all
end
And been using this url: www.mysite.com/?user_credentials=xyz
but it does not work and the CSRF protection (protect_from_forgery()) is in the way too.
thanks,
© Stack Overflow or respective owner