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 but I am getting the following error:
D, [2021-05-31T05:35:53.970669 #6] DEBUG -- omniauth: (linkedin) Request phase initiated.
Started GET "/users/auth/linkedin/callback?code=[FILTERED]&state=9e349ee89f75a4549e047dcb67da2c9a6a9b484fa8820480" for 172.19.0.1 at 2021-05-31 05:36:09 +0000
D, [2021-05-31T05:36:09.697959 #6] DEBUG -- omniauth: (linkedin) Callback phase initiated.
E, [2021-05-31T05:36:09.870838 #6] ERROR -- omniauth: (linkedin) Authentication failure! Connection reset by peer: Faraday::SSLError, Connection reset by peer
I have added these using the following gems for the configuration
devise ~> 4.8.0
omniauth-linkedin-oauth2 ~> 1.0.0
omniauth ~> 2.0.4
I even tried running on the active domain in the production server which contains the valid SSL certificate but still, the same error is thrown. How should I fix this?
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 but I am getting the following error:
I have added these using the following gems for the configuration
I even tried running on the active domain in the production server which contains the valid SSL certificate but still, the same error is thrown. How should I fix this?