Discreapancies endpoint Auth issue

We are consuming the Discrepancies API from our API system, but we are using the Web scraping way to authenticate the (https://identity.company-information.service.gov.uk/oauth2/authorise), all of sudden it stopped working , is there any change in the web flow, i have seen csrf token also introduced in the web forms is that ther reason?.