omniauth-linkedin

Linkedin oauth2 r_liteprofile not being returned from api

陌路散爱 提交于 2019-12-11 04:45:34
问题 So I have a rails app and I am using this gem for oauth2. Now on the developer's console on linkedin I can only select r_basicprofile , r_emailaddress , rw_company_admin and w_share . So I have r_basicprofile selected. Now once identified linkedin in pushing the user to http://localhost:3000/auth/linkedin/callback?error=unauthorized_scope_error&error_description=Scope+%26quot%3Br_liteprofile%26quot%3B+is+not+authorized+for+your+application&state

LinkedIn photo_urls or picture-urls::(original) not being returned

时间秒杀一切 提交于 2019-12-03 06:19:00
问题 So I am using omniauth and devise for LinkedIn authentication in my Rails 5 app. omniauth-linkedin-oauth2 (0.2.5) devise (4.4.1) Everything is working great for the most part and users are able to signup and authenticate using LinkedIn. However the default image that is returned in "auth.info.image" is 50x50 which is too small. I've done a lot of reading on this and the suggested way forward is adding "picture-urls::(original)" to the devise fields list. This is consistent with what I see in

LinkedIn photo_urls or picture-urls::(original) not being returned

早过忘川 提交于 2019-12-02 20:52:06
So I am using omniauth and devise for LinkedIn authentication in my Rails 5 app. omniauth-linkedin-oauth2 (0.2.5) devise (4.4.1) Everything is working great for the most part and users are able to signup and authenticate using LinkedIn. However the default image that is returned in "auth.info.image" is 50x50 which is too small. I've done a lot of reading on this and the suggested way forward is adding "picture-urls::(original)" to the devise fields list. This is consistent with what I see in the documentation ( https://developer.linkedin.com/docs/fields/basic-profile ). This however does not