how to use Omniauth callback with LinkedIn API?
I'm trying to use following js code
const url = `/users/auth/linkedin/callback`;
IN.User.authorize((e) => {
this.sendRequest(url,{}); // send post request without any params
});
which sends post request after successful authorization through Linkedin API.
I, [2018-01-04T17:14:25.240777 #5985] INFO -- omniauth: (linkedin) Callback phase initiated.
E, [2018-01-04T17:14:25.375784 #5985] ERROR -- omniauth: (linkedin) Authentication failure! session_expired: OmniAuth::NoSessionError, Session Expired
That's what I got on serverside. Is there any way to achieve authorization without redirecting?
how to use Omniauth callback with LinkedIn API?
I'm trying to use following js code
which sends post request after successful authorization through Linkedin API.
That's what I got on serverside. Is there any way to achieve authorization without redirecting?