Thank you for posting this in Microsoft Q&A.
I understand that you want to request an access token using client_assertion
instead of client_id
in an Azure B2C custom policy.
Unfortunately, certificates are not supported in Azure AD B2C user flows or custom policies.
So, currently, you can't obtain an access token using client_assertion
in the client credentials flow in Azure AD B2C.
For your reference: https://learn.microsoft.com/en-us/azure/active-directory-b2c/app-registrations-training-guide#application-certificates--secrets
Hope this helps. Do let us know if you any further queries.
Thanks,
Navya.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.