Thank you for posting your query on Microsoft Q&A and patience. From above description I could understand that you want to send your Azure B2C token to an API and then use output from API as claims in your token.
Please do correct me by responding in the comments section if this is not the case.
- To achieve the above defined as you must follow Enrich tokens with claims from external sources using API connectors
- You can follow Nodejs sample for authentication config file in API.
- Once configured you may decide when to call the API, for example :
Please do let me know if you have any queries.
Thanks,
Akshay Kaushik
Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.