Displaying 20 results from an estimated 88 matches for "auth_token".
2011 Aug 02
2
ror +auth_token + c#
HI,
i have to change a desktop app written in c# to post and get some data
to/from a rails app. the railsapp uses devise.
what im doing right now is:
1) pull up sign_in page
2) parse 1) for auth_token
3) post username+ pwd & auth_token
3.1) if 3 ok > goto 4)
4) post json data
that works all good, except that i do not provide auth_token in step4 , but
a) rails is still accepting my data. is that normal?
b) it seemsi cant not access attributes of current_user
so that leads me to say im no...
2011 Aug 02
2
ror +auth_token + c#
HI,
i have to change a desktop app written in c# to post and get some data
to/from a rails app. the railsapp uses devise.
what im doing right now is:
1) pull up sign_in page
2) parse 1) for auth_token
3) post username+ pwd & auth_token
3.1) if 3 ok > goto 4)
4) post json data
that works all good, except that i do not provide auth_token in step4 , but
a) rails is still accepting my data. is that normal?
b) it seemsi cant not access attributes of current_user
so that leads me to say im no...
2015 Aug 05
3
question on autch cache parameters
...######################
master at uma:{SHA}XXXX=::::::userdb_acl_groups=umareadmaster
allow_nets=127.0.0.1
# snap ###############################
and use this group in a global ACL file.
I discovered this only works on first NOT-cached login
environment in imap-postlogin script on first login:
AUTH_TOKEN=e96b5a32ceb2cafc4460c210ad2e92e3d7ab388c
MASTER_USER=master at uma
SPUSER=private/pdf
LOCAL_IP=127.0.0.1
USER=pdf
AUTH_USER=master at uma
PWD=/var/run/dovecot
USERDB_KEYS=ACL_GROUPS HOME SPUSER MASTER_USER AUTH_TOKEN AUTH_USER
SHLVL=1
HOME=/var/data/vmail/private/pdf
ACL_GROUPS=umareadmaster
IP=127...
2015 Aug 06
3
question on autch cache parameters
...ts=127.0.0.1
>> # snap ###############################
>>
>> and use this group in a global ACL file.
>> I discovered this only works on first NOT-cached login
>>
>>
>>
>> environment in imap-postlogin script on first login:
>>
>>
>> AUTH_TOKEN=e96b5a32ceb2cafc4460c210ad2e92e3d7ab388c
>> MASTER_USER=master at uma
>> SPUSER=private/pdf
>> LOCAL_IP=127.0.0.1
>> USER=pdf
>> AUTH_USER=master at uma
>> PWD=/var/run/dovecot
>> USERDB_KEYS=ACL_GROUPS HOME SPUSER MASTER_USER AUTH_TOKEN AUTH_USER
>>...
2008 Jan 29
3
Facebook Redirects to Callback Path after log in
...ller
ensure_authenticated_to_facebook
......
end
I hit the app and get this URL
http://www.facebook.com/tos.php?api_key=442c6504bd2362d8a7fba7303cd583ca&next=&v=1.0#
After I get the log in screen facebook sends a redirect to the CALLBACK path
http://staging.travelerstable.com:8888/?auth_token=8a83bf3c4f33b5cb16d423c292663c59
Anyone else see this? I don''t think it has anything to do with
Facebooker, or does it? If you look in the tos url you can see next=
, I wonder what that is for.
Dave
2015 Aug 05
0
question on autch cache parameters
...acl_groups=umareadmaster
> allow_nets=127.0.0.1
> # snap ###############################
>
> and use this group in a global ACL file.
> I discovered this only works on first NOT-cached login
>
>
>
> environment in imap-postlogin script on first login:
>
>
> AUTH_TOKEN=e96b5a32ceb2cafc4460c210ad2e92e3d7ab388c
> MASTER_USER=master at uma
> SPUSER=private/pdf
> LOCAL_IP=127.0.0.1
> USER=pdf
> AUTH_USER=master at uma
> PWD=/var/run/dovecot
> USERDB_KEYS=ACL_GROUPS HOME SPUSER MASTER_USER AUTH_TOKEN AUTH_USER
> SHLVL=1
> HOME=/var/data/vmai...
2007 Mar 19
0
cookies
How do I set cookies in a spec so I can see them in my controller, please?
Conversely, why doesn''t this work...
require File.dirname(__FILE__) + ''/../spec_helper''
class TestApplicationController < ApplicationController
def index
@seen = cookies[''auth_token''] || ''NOT seen!''
puts cookies.inspect # {"auth_token"=>42}, see below
render :text => ''testing'' # don''t look for view
end
end
context ''All controllers (via ApplicationController)...'' do
contro...
2008 Jan 30
2
Where can I get "authenticate_with_http_basic"?
...m_basic_auth
authenticate_with_http_basic do |username, password|
self.current_user = User.authenticate(username, password)
end
end
# Called from #current_user. Finaly, attempt to login by an
expiring token in the cookie.
def login_from_cookie
user = cookies[:auth_token] &&
User.find_by_remember_token(cookies[:auth_token])
if user && user.remember_token?
user.remember_me
cookies[:auth_token] = { :value =>
user.remember_token, :expires => user.remember_token_expires_at }
self.current_user = user
end
end...
2015 Aug 27
0
question on autch cache parameters
...####################
>>>
>>> and use this group in a global ACL file.
>>> I discovered this only works on first NOT-cached login
>>>
>>>
>>>
>>> environment in imap-postlogin script on first login:
>>>
>>>
>>> AUTH_TOKEN=e96b5a32ceb2cafc4460c210ad2e92e3d7ab388c
>>> MASTER_USER=master at uma
>>> SPUSER=private/pdf
>>> LOCAL_IP=127.0.0.1
>>> USER=pdf
>>> AUTH_USER=master at uma
>>> PWD=/var/run/dovecot
>>> USERDB_KEYS=ACL_GROUPS HOME SPUSER MASTER_USER AU...
2006 Dec 01
2
Mongrel 0.3.18, rails 1.1.6 and cookies
I''ve run into an issue with my rails application being unable to
properly set cookies on Mongrel 0.3.18. If I run the simplified code
below in Mongrel 3.14.4, both cookies are properly sent to and saved
by the browser. With the same code in 0.3.18, only the auth_token
cookie is created (if I switch them, only the userid as it will only
properly create the first cookie in the list.)
I''m at home right now, but when I get back into work tomorrow, I''ll
try to install 0.3.15 and see if the problem exists there as well.
Thanks.
def login
cookies[...
2007 Dec 18
2
RFacebook | Help required
...ok app, and start the server and send a request to
http://127.0.0.1:3000/socialrecipe, it takes me to the facebook login page
(as expected, so no issues up till here), but after I provide my login info,
the browser continously sends a request to the following URL
http://127.0.0.1:3000/socialrecipe/?auth_token=0898204e1d5fb8c11c4bb56f7f79cbc2
with the value of auth_toekn changing every second. Can anyone tell me whats
wrong, or what mistake am I making here? Any help will be highly appreciated
--
Regards
Haris Gulzar
--~--~---------~--~----~------------~-------~--~----~
You received this message bec...
2020 Mar 20
2
systemuser login
...andreas at dualbit.de file=/et
c/dovecot/users
2020-03-20 15:44:43 auth: Debug: client passdb out: OK 1 user=andreas at dualbit.de
2020-03-20 15:44:43 auth: Debug: master in: REQUEST 2126249985 15266 1 37d0ecbd12433c7a5675892b0dc95b6f session_pid=15272
request_auth_token
2020-03-20 15:44:43 auth: Debug: prefetch(andreas at dualbit.de,::1,<pYBcU0qhqIMAAAAAAAAAAAAAAAAAAAAB>): success
2020-03-20 15:44:43 auth: Debug: master userdb out: USER 2126249985 andreas at dualbit.de mail=mbox:/var/mail/andreas:INBOX=/var/ma
il/andreas auth_token=47c6...
2007 Nov 29
7
Sessions Not Working In Production Mode
I am completely stumped by this problem, and would welcome any
suggestions people could provide.
My application uses active-record-based sessions. In development mode,
the app works fine with sessions, no problems. But in production mode,
the process works for a while (a few hours, maybe more), but at a
certain point the session mechanism stop working.
It looks like the system stops storing new
2006 Nov 08
1
controller.session not same as session?
> context "A user logging out" do
> fixtures :users
> controller_name :account
>
> setup do
> login_as :quentin
> users(:quentin).remember_me
> request.cookies["auth_token"] = cookie_for(:quentin)
> end
>
> def logout
> get :logout
> end
>
> specify "should unset :user in session" do
> logout
> controller.session[:user].should_be_nil
> end
>
> specify "should unset :user in contr...
2020 Mar 20
3
systemuser login
...le:
2020-03-20 14:40:01 auth: Debug: prefetch(andreas at dualbit.de,::1,<+9T4a0mhKO0AAAAAAAAAAAAAAAAAAAAB>): success
2020-03-20 14:40:01 auth: Debug: master userdb out: USER 734789633 andreas at dualbit.de mail=mbox:/var/mail/andreas:INBOX=/var/ma
il/andreas at dualbit.de auth_token=dc1f852724345081ff3a18958f05fc61b2544ab4
The domainpart is added to the username when I use %u. I assume this is why the login fails.
How do I correct this, please?
Kind regards
Andreas
2013 Oct 18
1
Rails 4 + AngularJs (unembedded client) integration sample
...just a toy application I use to experiment and
test on various stuff (there''s absolutely no production ready nor
TDD/BDD backed code).
As of now a very basic login/signup feature is implemented and there''s
no structured layout.
Authentication is based on has_secure_password, with auth_token
verification.
Here follows the link to the repository:
https://github.com/CarmineM74/skeleton_app_with_client
I hope it could be of any help.
Regards
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: T...
2008 Jun 03
2
Order of authentication methods is causing unnecessary call to API?
Hey Guys,
I am wondering if I am missing something here. I am noticing that after a
user installs my app I get a request that not only contains an auth_key but
also contains a valid session key.
Occasionally I am seeing that Facebook server is occasionally sending a
connection reset during the auth key authentication method, this caused me
to notice that secure_with_token is given precedence in
2018 Aug 10
1
dying on osx
...ebug: static(mkm,127.0.0.1,<xo1p2BRzZNd/AAAB>):
lookup
20180810-083730 auth: Debug: client passdb out: OK??? 1 user=mkm???
host=localhost??? nopasswd=y
20180810-083730 auth: Debug: master in: REQUEST??? 4201906177 77432???
1??? b8126b4b71be2959fc7716888eccc566 session_pid=77433???
request_auth_token
20180810-083730 auth-worker(77426): Debug:
passwd(mkm,127.0.0.1,<xo1p2BRzZNd/AAAB>): lookup
20180810-083730 auth: Debug: master userdb out: USER 4201906177???
mkm??? system_groups_user=mkm??? uid=503 gid=20??? home=/Users/mkm
auth_token=4d2bb44168df3d63e4e1bb352e59de632bc7da49
20180810-083...
2008 Dec 10
3
How to stop SOAP4R/OpenSSL requiring cert?
Hi
I want to consume some web services that are only available over HTTPS.
My method looks like this:
def lookup_id
myid=params[:id]
driver =
SOAP::WSDLDriverFactory.new("https://server.com/xxx.wsdl").create_rpc_driver
@p=driver.verifyId(AUTH_TOKEN, PIN, myid)
end
Although this works fine on my local box (with a warning), when deployed
to the staging server I get:
OpenSSL::SSL::SSLError (certificate verify failed):
Can anyone assist me in telling SOAP4R and/or OpenSSL to simply treat
this is a warning rather than an error?
Thanks in adv...
2008 Jun 12
6
Session Best Practices
...my current flow:
in my "external accounts controller"
1) before_filter :ensure_authenticated_to_facebook, :only => [:authenticate_facebook, :edit_facebook]
2) when the user links into facebook, facebooker authenticates and redirects back to my application
3) i detect the "auth_token" param in my method and store the session_key
4) now the session[:facebook_session] is good to go
....
when a user logs in i detect if they have ever authorized facebook, if they have a reconstitute a facebooker session :
session[:facebook_session] ||=
&nb...