I do not know any Church that teaches salvation by works, not now and not in the past but I do know ignorant people who teach something like it and of denominations and independent groups and semi-Christian sects that teach things that sound like it. The Catholic Church teaches - and always has taught - that salvation comes from God as an act of God's grace in Jesus Christ. Nobody will ever be saved by their own efforts but everybody who is called by God turns from their sins and walks with God according to the graces given to them by God and according to their desire to please God [SUP]
(Php 2:12-13)[/SUP].
So then, my loved ones, as you have at all times done what I say, not only when I am present, but now much more when I am not with you, give yourselves to working out your salvation with fear in your hearts; For it is God who is the cause of your desires and of your acts, for his good pleasure. Do all things without protests and arguments; So that you may be holy and gentle, children of God without sin in a twisted and foolish generation, among whom you are seen as lights in the world, Offering the word of life; so that I may have glory in you in the day of Christ, because my running was not for nothing and my work was not without effect. And even if I am offered like a drink offering, giving myself for the cause and work of your faith, I am glad and have joy with you all: And in the same way do you be glad and have a part in my joy. [SUP]Philippians 2:12-18[/SUP]
Some people (not me) appear to be allergic to good works in their theology and write as if good works are some horrible curse that contaminates the gospel when the truth is that Christians are called to a life of good works in obedience to the Lord Jesus Christ [SUP]
(John 14:15; 15:10)[/SUP]. I guess some kinds of theology makes them write that way and makes them oppose every expression of faith that includes the necessity of good works in the life of the faithful who will obtain salvation through faith and good works as James says in his letter
"What use is it, my brothers, for a man to say that he has faith, if he does nothing? will such a faith give him salvation? If a brother or a sister is without clothing and in need of the day's food, And one of you says to them, Go in peace, be warm and full of food; but you do not give them the things of which their bodies have need, what profit is there in this? Even so faith without works is dead. But a man may say, You have faith and I have works; let me see your faith without your works, and I will make my faith clear to you by my works. You have the belief that God is one, and you do well: the evil spirits have the same belief, shaking with fear. Do you not see, O foolish man, that faith without works is of no use? Was not the righteousness of Abraham our father judged by his works, when he made an offering of Isaac his son on the altar? You see that his faith was helping his works and was made complete by them; And the holy Writings were put into effect which said, And Abraham had faith in God and it was put to his account as righteousness; and he was named the friend of God. You see that a man's righteousness is judged by his works and not by his faith only. And in the same way, was not the righteousness of Rahab, the loose woman, judged by her works, when she took into her house those who were sent and let them go out by another way? For as the body without the spirit is dead even so faith without works is dead. [SUP]James 2:14-26[/SUP]"
In the Catechism of the Council of Trent it's written that
"Justifying Grace
But the grace of justification, which signs us with the Holy Spirit of promise, who is the pledge of our inheritance,' transcends all His other most ample gifts. It unites us to God in the closest bonds of love, lights up within us the sacred flame of piety, forms us to newness of life, renders us partakers of the divine nature, and enables us to be called and really to be the sons of God."
...
"All The Sacraments Signify Something Present, Something Past, Something Future:
This applies to all the Sacraments; for all of them declare not only our sanctity and justification, but also two other things most intimately connected with sanctification, namely, the Passion of Christ our Redeemer, which is the source of our sanctification, and also eternal life and heavenly bliss, which are the end of sanctification. Such, then, being the nature of all the Sacraments, holy Doctors justly hold that each of them has a threefold significance: they remind us of something past; they indicate and point out something present; they foretell something future.
Nor should it be supposed that this teaching of the Doctors is unsupported by the testimony of Holy Scripture. When the Apostle says: All we who are baptised in Christ Jesus, are baptised in his death, he gives us clearly to understand that Baptism is called a sign, because it reminds us of the death and Passion of our Lord. When he says, We are buried together with him by baptism into death; that as Christ is risen from the dead by the glory of the Father, so, we also may walk in newness of life, he also clearly shows that Baptism is a sign which indicates the infusion of divine grace into our souls, which enables us to lead a new life and to perform all the duties of true piety with ease and cheerfulness. Finally, when he adds: If we have been planted together in the likeness of his death, we shall be also in the likeness of his resurrection, he teaches that Baptism clearly foreshadows eternal life also, which we are to reach through its efficacy."
These things were written soon after the beginning of the Protestant revolt and are drawn from Catholic Church teaching that had already existed for many centuries yet the Protesters did not want any part of the Catholic Church and created their own denominations which soon found themselves splitting into yet more denominations. Today there are many Lutheran denominations and many Calvinist denominations each with their own special emphases on this and that part of Martin Luther's teaching and John Calvin's teaching and some created new ideas never expressed by Martin Luther or John Calvin. And there are Baptists who didn't like a great number of the things taught by Martin Luther nor did they like a good number of the teachings of John Calvin. Baptists, Pentecostals, Methodists, Anglicans, Independents, and a host of others exist now; some rejecting this teaching while others reject that teaching in the overall teaching of Martin Luther and the teachings of John Calvin. It may have been inevitable that the Catholic Church would be rent apart by schisms and heresies in the sixteenth century, and who can say what may have happened had it not been so? The Catholic Church of that time was itself troubled by some corrupt bishops and some corrupt priests both groups having some members appointed by wealthy and powerful people whose used political and military power to impose their will on the Church in their jurisdiction and some very senior clerics - yes even as senior as some of the popes of those days - were corrupt too. So we have a divided Christianity today in which old battles - long since repudiated by the Catholic Church and also by some (or many) Protestant denominations - are still fought in the pages of internet forums and in other places (such as books, comics and pamphlets).