add callback of localhost on get_auth_token request