search for: oid_request

Displaying 1 result from an estimated 1 matches for "oid_request".

Did you mean: end_request
2008 May 19
6
Sample Code, quick simple openid auth
...your camping app: class Login < R ''/login'' def get this_url = ''http:'' + URL(''/login'').to_s unless input.finish.to_s == ''1'' # start doing the auth here begin oid_request = OpenID::Consumer.new(@state, nil).begin(input.openid_identity) oid_request.return_to_args[''finish''] = ''1'' redirect(oid_request.redirect_url(''http:'' + URL(''/'').to_s, this_url)) rescue O...