similar to: Sample Code, quick simple openid auth

Displaying 20 results from an estimated 800 matches similar to: "Sample Code, quick simple openid auth"

2008 Jun 06
7
Attention Judofyr: Broken cookies in 2.0
Hey Judofyr! Fix this! When someone sets a cookie using @cookies.something = ''data'' it should be set with the path going to the camping app''s root, not with no path, otherwise only that controller with the same parameters will ever see the cookie again! Please change this code: > @cookies.each do |k, v| > @response.set_cookie(k, v) if o[k] != v > end
2008 May 24
19
Camping 2.0 - What''s left?
I''ve just sent a pull-request to _why with my changes[1] and here is some things that I think needs to be done before a (possible) release: * The cookie session is named Camping::Session and is placed in camping/session.rb. Maybe this should be called Camping::CookieSession or??? * The ActiveRecord session is named Camping::ARSession and is placed in camping/ar/session.rb. Maybe it
2008 May 23
8
An issue for consideration
We''ve just come across an issue for consideration. I am avoiding some words which would allow people to find this message in an internet search who have questionable intentions, but wish to communicate a strong sense of caution. Consider someone who adds extra methods to their controller which they use in their main get/post methods to do things or to get secret data. Consider
2008 Jun 06
2
Messy Cookies
It looks like everyone has tried to fix the cookies lately, and no-one managed to get it 100% correctly. The current implementation doesn''t set the path correctly, and you can''t use @cookies in a #service-overload. Qwzybug''s patch fixed only the sessions. Jenna''s patch won''t allow to set complex cookies (@cookies.key = {:path => "/path",
2008 May 17
4
Setting cookies in service overloader thingo
I''m implementing a simpler version of the Cookie Session Store in Rails 2.0. If you know what that is, skip the next paragraph. A cookie session store stores the session data inside cookies, on the client, and signs them using a secret string, hashed together. The user can decode the cookie easily if they know much about computers and see what''s inside, but they
2008 Jun 03
8
@@state_secret
I was having some issue getting the class variables in Camping::Session to work with some old apps, so I''ve changed @@state_secret to a method. module Blog include Camping::Session def state_secret; "kxxxx" end end Also, merged some of zimbatm''s patches. And trying to revive the Junebug wiki <http://github.com/why/junebug> since it''s still
2012 May 02
17
ChillDB License
A few of you sounded interested in using it. I haven''t explicitly put a software license on it, so I guess it''s not technically FOSS yet. What licenses are good? BSD? Public Domain? ? Jenna -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/camping-list/attachments/20120502/96b87580/attachment.html>
2011 Dec 06
3
Riak on Camping
Good day, does anyone here have a clue on how to make use of the NoSQL database "Riak" with Camping? I am building my website and Riak seems like pretty much the ultimate database! This would probably ruin every little feature in ActiveRecord, I don''t think I''d be able to do any has_many''s or belongs_to but I''d LOVE to be proven wrong. As far as
2008 May 18
1
Problem with cookies in CGI mode
So it took me ages to figure out how to get cookies set in my app, and here was the problem. I''m using camping''s built in CGI support, and with that you can have something like domain.com/blah/app.rb and that will go to your / route, which is okay, except that the path the cookies are set with is domain.com/blah/app.rb/ So if you try to use that url, none of your
2007 Jan 24
0
the vendor dir, gems and openid
Dear all, I am currently developing an application which uses OpenID as a login system. On my development box everything works like a charm. But as soon as I deploy the code to our production server things go wrong. First the OpenID gem could not be located. This made sense as it is not installed on the production server, so after some browsing it appeared that I needed: $ cd
2006 Jan 05
3
Ruby OpenID library and OpenIDLoginGenerator
Version 0.9.2 of the Ruby OpenID library has been released. This latest release contains a port of the rails LoginGenerator (OpenIDLoginGenerator) that uses OpenID for authentication. Read more and download the library: http://www.openidenabled.com/openid/libraries/ruby/ http://raa.ruby-lang.org/project/openid/ A bit about OpenID: OpenID is a URL based identity system. An OpenID identity is
2006 Feb 01
0
Ruby OpenID 0.9.4
OpenID is a decentralized URL based identity system. This library provides a ruby interface for verifying and serving OpenID identities. More at http://openid.net/ This latest release contains many exciting new features including server support, Rails consumer and server examples, and a rails based ActiveRecord store. Features: * Easy-to-use API for verifying OpenID identities (OpenIDConsumer)
2006 Jul 14
0
OpenID immediate mode
Maybe nobody else has tried this, but there''s a problem with immediate mode in the current release of OpenID. If you use it, you''ll get the first "complete" response correctly, as OpenID::SETUP_NEEDED, but you''ll get OpenID::FAILURE when you user returns to your site after typing in his password and whatever. The reason is that OpenID''s
2007 Dec 24
0
Update OpenIdAuthentication to use Ruby OpenID 2.x.x
The new Ruby OpenID library has been released and it has a bunch of major changes from 1.x.x. This patch updates the OpenIdAuthentication plugin to use the 2.x.x version. I wouldn''t usually feel much pressure to upgrade, however the ruby- openid 1.x.x gem is broken after Ruby Gems 1.0 was released. I think we should also consider freezing ruby-openid in this plugin so this type of thing
2006 May 27
2
[Repost] OpenID and my db schema
Hi, I posted this before, but didn''t get an answer, so I''m trying again. I''ve recently decided to use OpenID to let users log in to my site instead of old fashioned account creation. They''ll be able to add a small amount of personal details (about three things) to their account, and post messages in the site BB. I have an openid_users table which stores the
2006 May 24
0
OpenID and my schema
Hi, I''ve recently decided to use OpenID to let users log in to my site instead of old fashioned account creation. They''ll be able to add a small amount of personal details (about three things) to their account, and post messages in the site BB. I have an openid_users table which stores the personal details in. Obviously I''ve got validates_uniqueness_of :openid in the
2007 Sep 24
0
OpenID Server
Are there any alternatives to the PIP OpenID Server out there? I know that there are a quite some public OpenID Servers, but we would like to use this technique in an enterprise intranet, so accessing public servers is not always ensured. For this reason we are looking for a simple and maintainable solution. Any ideas? -- Posted via http://www.ruby-forum.com/.
2009 Jan 16
5
Help: OpenId and restful_acl
Hi All, I have restful_authentication with restful_acl installed on my app, now I want to use OpenId with restful_acl,so my question is... does this make any problems for me or not? I haven''t explored the OpenId for ROR yet, and I am going to do that now,but I just wan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed
2010 May 21
0
OpenID Authentication using AuthLogic
Hi, I am trying to implement openid authentication using authlogic. I have installed the open_id_authentication in the process but when I entered rake open_id_authentication:db:create --trace I get the following error (in /Users/felix/login) rake aborted! Don''t know how to build task ''open_id_authentication:db:create''
2005 Aug 05
8
asterisk registered in ser proxy
is it possible to register asterisk in a sip proxy as if it were a terminal (like a cisco ATA)? how? Thanx Jenna ;) ___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar