Currently I have capacitor App connecting to Azure B2C directly. However I need to connect to B2C via IdentityServer4. This is because I wanted to inject some custom claims plus to make all authentication in a centralize (IdentityServer) place.

Is it possible? If so How?

Can someone give me some directions please.

In my App, I use this capacitor plugin for authentication (<https://github.com/moberwasserlechner/capacitor-oauth2>)