Meteor Social Logins Giving error in live site

I am facing two weird problems since my new deployment. The first one is Every time I refresh the page, the login session is being destroyed and needs to log in to proceed further in the application.

Another problem is, Facebook and google login throwing the below errors.

Additional info:
Deployment is done using Meteor up tool
Hosting provider: Digital Ocean
Host OS version : Ubunut 20.x.x

Help needed on resolving this.