Can I get a Right to Buy mortgage if I have bad credit?

Right to Buy scheme helps eligible council and housing association tenants in England to buy their home with a discount of up to £110,500 (£82,800 outside London).