Connecting Third Party Login to my Page

I have been trying to find a way of automating the login on my website.

When someone tries to login in my page, I would like to show a way of login in with another website’s login other than goggle and facebook.

This would use my information of the third party login and copy it as login for my page.
As well as maintain the session while interchanging between the pages.

Thank you