similar to: linkedin login using omniauth

Displaying 20 results from an estimated 100 matches similar to: "linkedin login using omniauth"

2012 Jan 18
4
Adding a custom select to omniauth register form
Hi, I''m creating a rails app using omniauth 1.0.1 on Rails 3.1.3 and ruby 1.9.2 I''m having trouble adding a select field that populates from a class constant in my user model. Here''s my model: class User < ActiveRecord::Base ROLES = ["Customer","Service Supplier"] has_many :leads validates_presence_of :role def
2006 May 02
2
flash not shown
I am using the following code (inspired by one of the books) to check if the user''s session should have timed out. # Check to see if the user has been inactive for longer than the # expiry period. If they have, reset the session. def check_timeout if session[:expires_at] != nil @time_left = (session[:expires_at] - Time.now).to_i unless @time_left > 0
2011 Oct 16
4
Ruby on rails with twitter integration
after i searched, i got so many links related with the twitter integration , Then i do that with one following link http://cbpowell.wordpress.com/2011/03/17/twitter-oauth-and-ruby-on-rails-integrated-cookbook-style-in-the-console-updated-for-twitter-1-0/ after some steps with the rails console, *Then i got some errors after i gave the steps to send the tweet from the application * * client
2006 Jul 10
1
Redirects and keeping flash
My code that acts if a session has timed out looks like this: reset_session session[:expires_at] = nil # TODO - This flash is never shown, because we redirect maybe? flash[:error] = ''Your session has timed out, please login to continue.'' # An attempt to make flash stick around, not working flash.keep redirect_to :controller => ''security'',
2012 Jan 09
1
Windows, Rails 3.1.3, Omniauth-BrowserID, SSL Erro
One and all, I have scoured the internet high and low tonight and I can not for the life of me fix this damn problem. I have downloaded certificates, installed certificates, changed my :ca_path and such as stated in the documentation for omniauth-facebook for which I thought would be ok to do with this one. Can anyone point me in the right direction of how to disable SSL in development mode
2012 Oct 06
1
how to scope the /auth/:provider/callback , using OmniAuth for users and members
I have two separate groups of people authenticated w Devise , but in this case I cannot used the Devise embedded OmniAuth support. So i am using directly the OmniAuth gem. Initialized w : Rails.configuration.middleware.use OmniAuth::Builder do ..provider :twitter, .. end It''s running fine , but I have an issue with the callback route mapping : I tried match
2012 Sep 16
1
“Routing Error No route matches {}” when omniauth failed on registration
(Original question was asked here: http://stackoverflow.com/questions/11506734/routing-error-no-route-matches-when-omniauth-failed-on-registration ) I am using omniauth-identity and configure its "fail on registration". My files: config/initializers/omniauth.rb OmniAuth.config.logger = Rails.logger Rails.application.config.middleware.use OmniAuth::Builder do #... provider
2011 Nov 21
0
OmniAuth provider not working (single sign on, two Rails apps)
I''m new to OmniAuth and am trying to get two sample apps (a provider and a client) to work. I have two sample apps I forked from a blog post on omniauth and single sign in: http://blog.joshsoftware.com/2010/12/16/multiple-applications-with-devise-omniauth-and-single-sign-on/ Provider - https://github.com/RobZolkos/sso-devise-omniauth-provider Client -
2011 Apr 20
1
Omniauth facebook authentication failure
I am using devise and omniauth for authentication. Wherever i click on the facebook login button i get this warning msg. ****************************************** warning: peer certificate won''t be verified in this SSL session ****************************************** But now i get this error msg ***************************************** OpenSSL::SSL::SSLError SSL_connect returned=1
2011 Feb 09
0
(Devise+Omniauth) Adding a port number to the callback URL patch applied but not working with openid
I was facing problem reported in issue # 101 (https://github.com/ intridea/omniauth/issues/issue/101) and able to resolve it by suggested code (mbleigh on January 12, 2011) in environment.rb However, open ID is still not working. (As mentioned in fix too). Can someone please help to resolve this or any workaround ? regards, Jaymin -- You received this message because you are subscribed to the
2011 Jul 19
0
Setting up omniauth with salesforce login in rails 2.3.8( ruby 1.8.6)
Hi, We have a production rails app running on ruby 1.8.6 with rails version 2.3.8. We are thinking about setting up omniauth to allow users login through salesforce. But the omaniauth ldap dependency inturn depends on ruby 1.8.7. Is there any way we can setup ominauth without ldap dependency to work on ruby 1.8.6? -- Azhagu Selvan SP -- You received this message because you are subscribed
2011 Aug 03
2
FYI: Heroku Cedar, pg, openssl, omniauth, troubles and a solution
Hi guys, I found a really nasty issue that affects people running on Heroku''s cedar stack. We are using Rails 3.1.rc5, pg 11, omniauth 2.6. Ruby is 1.9.2.180p Basically there is an incompatibility between the http, pg and OpenSSL modules which segfaults when making https calls, for example to log in through twitter. Now pg is a required gem when using Heroku cedar stack so leaving that
2012 Jul 23
2
Mechanize::Agent#post_connect_hook response != Mechanize#parse response
I''m working through an idea for a db-backed cache for Mechanize#get(). The idea is to use a Mechanize::Agent#post_connect_hook to cached any fetch data, and create a subclass of Mechanize::Agent#get() that checks the cache before calling super. I want to store the un-parsed (raw) page in the db, and call Mechanize#parse when there''s a cache hit, something along these lines:
2014 Nov 01
5
Pregunta (creo que simple) para usar twitteR
Hola Alfonso, buenos días: Lo he probado pero no me va, eso sí ha cambiado el error, el código utilizado es: library(ROAuth)library(twitteR) download.file(url="http://curl.haxx.se/ca/cacert.pem", destfile="cacert.pem") reqURL <- "https://api.twitter.com/oauth/request_token"accessURL <- "http://api.twitter.com/oauth/access_token"authURL <-
2006 Mar 22
4
How to write this SQL query?
Hi! Is there rails version of "where column in (value1, value2, ...)"? I know i could do OR many times, but this way is shorter. I''m ruby/rails newbie, so i have a problem with converting the hash, which i''m receving from the search form into the string for :conditions in find method. Could i instead of creating one, complicated (for me) query do something like
2013 Aug 29
4
linkedin gem
Hi, I am following this post * http://www.sitepoint.com/ruby-social-gems-linkedin/* for using linked gem and API for getting profile and other stuff But at the end I am getting this error: => Booting WEBrick => Rails 3.2.13 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting
2012 Sep 04
2
How to get contact list from yahoo in rails using OAuth
I can successfully get the contacts from google using OAuth gem in rails. my gmail configuration is : :google=>{ :key=>"***", :secret=>"***", :expose => true, :scope=>"https://www.google.com/m8/feeds/" } now i want to get contact from yahoo and hot mail. How to get that contact I have given following configuration in my
2013 Oct 07
2
Omni_auth with Facebook
Hi, I''ve implemented the sample app with omni_auth(''0.2.6''). I''m using rails 2.3.11 with ruby 1.8.7. I tried to connect with Facebook but getting oauth error. I tested it with twitter & google plus account. Both are working fine but the FB connects is not working yet. Can you please help me out?. -- Posted via http://www.ruby-forum.com/. -- You
2009 Feb 02
2
did_not_yield
Hello, I have some rudimentary code for loging into my app and database, it works ok (I think) but in Production, it does some strange things. I''ve reduce the problem to a more simplest approach, without rendering, simply creating a variable of what should do. Here is what I get in the log: Processing ScannsController#status (for 127.0.0.1 at 2009-02-02 14:24:25) [GET] Session ID:
2011 Mar 01
1
Writing Rspec for signup using facebook
Hi, We are using omniauth for signup through Facebook and twitter. Is there any way i can check this by rspec controllers since it contains callbacks n all..so i think we may have to use mock models. If there is any link or documentation please let me know so that i can start implementing. -- Posted via http://www.ruby-forum.com/.