Ask github to change a code into a token, save it in a cookie.