Getting logged out of Linkedin after Oauth Login

Hi,

I am using the standard OAuth login with official linkedin api.
I am able to login and get the user email but after that my linkedin account is getting logged out. when I go back to my linkedin feed.

Any suggestions on why it is happening / fixes?

Thanks & Regards!