Hi Bardia,
Entra supports inline azure functions, have you considered that?
Option A: Response Interceptor
BankID → Hydra → Azure Function → Client
Option B: Request Processor
BankID → Azure Function → Hydra → Client
Some references:
API Connectors Overview - https://learn.microsoft.com/en-us/azure/active-directory-b2c/api-connectors-overview
Secure APIs for API Connectors - https://learn.microsoft.com/en-us/entra/external-id/self-service-sign-up-secure-api-connector
Add API Connectors to Sign-up Flows -
Token Enrichment with API Connectors -
https://learn.microsoft.com/en-us/azure/active-directory-b2c/add-api-connector-token-enrichment