The LotR characters derive their powers from the creator being (forgot his name). They're natural gifts from God essentially.
Where is this "God figure" mentioned? In what book?
I saw all the Peter Jackson movies and there is not the slightest hint at any sort of "God figure" anywhere.
I don't think the presence of magic in a story is necessarily problematic,
This goes without saying and is not what I'm saying.
The point is that some of the "good guys" use magic and magic, spells, witchcraft etc. is all around portrayed as a good and normal thing. Gandalf himself is a WIZARD for crying out loud.
I remember the scene in the Fellowship of the Ring where Gandalf is about to fight the Balrog and Gandalf says "I am a servant of the secret fire, wielder of the flame of Anor."
but a person's faith is almost always professed in their art, and Tolkien and Rowling clearly express in their respective stories spiritual views diametrically opposed to eachother.
And what spiritual views are expressed in Tolkien's books?
The God figure is mentioned in the Silmarillion. Iluvatar I believe. The films are hardly true to the books save in certain parts. Most of it is completely different from the book.
As for the protagonists using magic, look at it as a priest using his Church bound authority rather than a witch using magic.
The spirituality in Tolkiens book is quite obvious once you get the underlying story of the series. Basically Sauron and the forces of darkness are worshipers of the Lucifer of the series (and the other books regarding his history say as much). There are many parallels to Catholicism as well and Tolkien says as much in one of his letters (I forget to whom) and many pieces of the LOTR series seems to be interpretations of the bible. For example they call Sauron the "faithless and accursed". This is because he worships Morgoth (Satan) instead of Iluvatar (God).
And if no one mentioned it yet, in Rowlings books (which I unfortunately read) they draw obvious parallels to actual witch craft. The whole thing about muttering the proper words and using a wand. An unknown source for the powers they all use. The spells are all in a language unknown to any. Its basically a way to get little girls and boys to idolize occultism.
I saw all the Peter Jackson movies and there is not the slightest hint at any sort of "God figure" anywhere.
Have you seen many film adaptations of books?