redirect_uri is optional. Github callback functions.