How do I add an oAuth Callback?

I’m new to building this stuff in Ionic, but i’m trying to add a callback.html file somewhere in my ionic application to handle an oAuth flow.

in angular i’ve implemented this in the past with a component (called callback for example) that is then called in the app.router.ts file with the URL of callback.html. Then the redirect works…

I can’t figure out how to do this in Ionic however, reading some of the docs there doesn’t seem to be much support for the angular router (or it seems a bit hacky)…

What is the best way to handle this?

BUMP

Has no one done this before? How do we handle auth in Ionic?