The solution is to use https://www.npmjs.com/package/angular4-social-login module for PWA. I tried it. It’s working fine.