-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Safari can not open the page because the address is invalid #7610
Unanswered
levgenprog
asked this question in
Q&A
-
I've build the application for ios following the steps in the documentation, and also configured deep (universal links) as also guided in the documentation here: https://capacitorjs.com/docs/v5/guides/deep-links. The application opens, but when I try to redirect for the authorization, I get this error on the screen:
IMG_364915D4A3A5-1
Can anyone tell me what is wrong or how can it be resolved?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments
-
did you ever found a solution?
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
-
For the moment I managed to do it with InAppBrowser:
import { InAppBrowser, DefaultWebViewOptions } from "@capacitor/inappbrowser"; // Build web login URL const webLoginUrl = new URL('/login', 'http://localhost/etc'); webLoginUrl.searchParams.set('redirectUri, 'my-app://etc'); await InAppBrowser.openInWebView({ url: webLoginUrl.toString(), options: DefaultWebViewOptions, });
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment