We want to customise the UI experience for forgot password reset on the hosted pages.
Using the default script we are forced to overwrite a lot of CSS cause the js also inject the default styles. At the same time, we would prefer to use our already existing styled component library to build the UI, not override existing styles that also implies performances implications.
I then opted to attempt to use the Management API but, while is very clear how to update a password knowing the old one, there is not any documentation of how to proceed for the internal flow that starts with the e-mail to the user with a link and a query parameter 'ticket '.
Having the ticket ID, how can the reset password internal flow be implemented in the Hosted Pages via SDK or directly via the Management API?