An Oklahoma man accused of throwing a pipe bomb at the Massachusetts headquarters of a group called The Satanic Temple has pleaded guilty.