Login to github account

Hai, May I ask how can I make my application to redirect login to github? thank you.
This is scenario, I want make web apps that I will form login email and password. After user input email and password I want that email and password can send to auth login github.
How can I do this?

This may help you: