Ionic 5 and Oauth2 integration

Hello everyone,
I want to integrate my ionic 5 application with my custom Oauth2 which uses internally google auth
these are steps need to be done to achieve this users will redirect to my custom OAuth login page
2.from that screen they can log in using google, google returns token to my custom OAuth
3.using that token my custom OAuth authenticate a user
4.return that to my ionic application
on the last step, I am stuck
I am using an in-app browser plugin to achieve this, I won’t able to get any response of any request.
in-app browser events are not firing if option is “_system”
please refer these issue for more help InAppBrowser.on('loadstop') not working

please any help appreciated
thanks in adv.