It is legal to camp on any Forest Service or BLM land. Sometimes this is restricted in very popular areas and should be signed (as one might expect, a lot of California public lands are so designated). I have not camped much in western Oregon, but eastern Oregon is mostly public lands where you can camp (unless they make special rules for the eclipse). Have fun.