Okta Angular with Capacitor JS

Hi, I tried to follow this guide to add Okta authentication to my Capacitor JS app but whenever I try to login with redirect it opens chrome instead of the in app browser and doesn’t redirect to my app after login. Any updated help would be very appreciated.