-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
CapacitorCapacitor is an open source native runtime for building Web Native apps.Capacitor is an open source native runtime for building Web Native apps.questionFurther information is requestedFurther information is requested
Description
I have a website that is also converted into an app via Capacitor. The login on the website works without any problems. But not for the native app.
There is a hook for Capacitor when the redirect URL is called from the auth provider.
CapApp.addListener("appUrlOpen", async ({ url }) => {
// TODO: handle URL
});
A URL is returned that contains the code & session_state. I would need to call a function there to handle the URL (not window.location.href). Is there a way to do this?
In auth0-react there is a function called "handleRedirectCallback(url)" that does just that.
Metadata
Metadata
Assignees
Labels
CapacitorCapacitor is an open source native runtime for building Web Native apps.Capacitor is an open source native runtime for building Web Native apps.questionFurther information is requestedFurther information is requested