SSO using ADFS

Hi,

I am developing app using Ionic and capacitor. I want the users to authenticate using OATH2. We have an ADFS server and I am trying to set up the relying party trust for the OATH2.

I am using the following package for OATH2:

The callback URL mentioned is http://localhost:4200

But in ADFS the callback URL should be HTTPS.

How to resolve this. Or this is another way of doing this.