Authentication Error: unsupported_response_type

Hi, i am also facing same issue, were you able to resolve this problem? Providing response_type =‘code’. 
Framework used: Angular 5
(ADFS + Angular 5)
Error: error=unsupported_response_type. The+authorization+server+does+not+support+obtaining+an+authorization+code+using+the+requested+‘response_type’.+The+authorization+server+only+supports+‘code’+as+the+response+type