remove redirect_uri from mandatory fields