Hi @Stephen Li ,
Thanks for reaching out.
You can refer https://learn.microsoft.com/en-us/azure/active-directory-b2c/add-ropc-policy?tabs=app-reg-ga&pivots=b2c-custom-policy to get the access token by setting default parameters in XML.
Hope this will help.
Thanks,
Shweta