omniauth-linkedin-oauth2
omniauth-linkedin-oauth2 copied to clipboard
A LinkedIn OAuth2 strategy for OmniAuth.
I am getting `unauthorized_scope_error | Scope "r_liteprofile" is not authorized for your application` very sporadically with linkedin oauth-2. This is very weird as there's no `r_liteprofile` in the linkedin developer's...
I had to do Monkey Patching like this: ```rb module OmniAuth module Strategies class LinkedIn < OmniAuth::Strategies::OAuth2 uid do raw_info["sub"] end info do { :name => raw_info["given_name"], :family_name => raw_info["family_name"],...
Heads-Up: I'll provide more information later. ## Issue We've upgraded `omniauth-linkedin-oauth2` to `v1.0.1.` yesterday and since then have not received successful sign-ins/sign-ups anymore via LinkedIn. ## Relevant Stacktrace ``` OAuth2::Error:...
Allowed for this gem to work with the new `r_basicprofile` permissions provided by LinkedIn
Adding option for changing redirect url
I'm getting the following error when I'm using this gem. OAuth2::Error at /auth/linkedin/callback : { "errorCode": 0, "message": "The token used in the request is expired.", "requestId": "5LVAAP7YZ2", "status": 401,...
Started POST "/auth/linkedin" for ::1 at 2021-05-25 18:08:07 +0530 D, [2021-05-25T18:08:07.525231 #36353] DEBUG -- omniauth: (linkedin) Request phase initiated. W, [2021-05-25T18:08:07.525652 #36353] WARN -- omniauth: Attack prevented by OmniAuth::AuthenticityTokenProtection E,...
``` (linkedin) Callback phase initiated. (linkedin) Authentication failure! invalid_credentials: OmniAuth::Strategies::OAuth2::CallbackError, OmniAuth::Strategies::OAuth2::CallbackError ``` `/auth/linkedin` took me directly to `/auth/failure` in dev environment. Not seeing linkedin login page.
I'm trying to set up an authentication via LinkedIn in the rails 5.2 application, for the same I'm referring to the [documentation given by devise](https://github.com/heartcombo/devise/wiki/OmniAuth%3A-Overview) but I am getting the...