auth0 / auth0-vue

Auth0 authentication SDK for Vue.js apps
Other
140 stars 27 forks source link

Vue Capacitor Ios App, @capacitor/browser not implemented with @capacitor/ios 6.0.1 #417

Open mrdannyjohnson opened 3 months ago

mrdannyjohnson commented 3 months ago

Checklist

Description

Following the Ionic & Capacitor (Vue) quickstart guide on a minimal implementation, at:

const login = async () => {
      await loginWithRedirect({
        openUrl: (url: string) =>
          Browser.open({
            url,
            windowName: "_self",
          }),
      });
    };

A NOT IMPLEMENTED error is logged in with IOS in xcode (works on android), appears to be related to Browser.open(

Downgrading packages below from version 6.0.1 to the following fixed the issue: "@capacitor/core": "5.7.7", "@capacitor/ios": "5.7.7",

Reproduction

Minimal implementation with Capacitor using packages below resulted in the error: "@capacitor/core": "6.0.1", "@capacitor/ios": "6.0.1",

Additional context

auth0-vue sample app does not use capacitor.

Thanks.

auth0-vue version

2.3.3

Vue version

3.4.30

Which browsers have you tested in?

Safari