Replies: 1 comment
-
|
An update on the ua parsing. It seems instagram on my Ipad uses the user agent of: Still curious on how this works on the demo site :P |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
How can I return the
bankid:///scheme BankID link as done in https://demo.activelogin.net when logging in through an embedded webview?Describe the problem
When calling
Initializefrom Instagram embedded webview on Android and iOS (have not checked all versions), the App Linkhttps://app.bankid.com...is received. The embedded views do not handle this link properly and cannot detect the device.To solve this, it seems to me the
bankid:///link should be returned, as it is on the demo site. I cannot figure out how to do it, and I cannot verify the demo site source code (although I presume it is mostly similar to the samples?).I tried investigating the device detection and I ran the unit tests on the sample header below, and it correctly identifies it as Chrome and Android. Thus the App Link is resolved. However, when sniffing the traffic in a proxy to check what link is received from demo site, I get the
bankid:///link!This is full response:
Request headers
What area is it related to
Device detection, BankID App Launching
Expected behavior
The bankid:/// url should be returned as it is on the demo site since that will work. But how and why when device detection identifies it as Android and Chrome :S
NuGet package version
5.0
Runtime version
.net 6
Smartphone (please complete the following information):
Workaround(s)
x-requested-withheader. If it exists, I return thebankid:///scheme. Did not fix things for iOS.Related issues
#360
#339
https://stackoverflow.com/questions/60878744/how-to-open-an-android-app-link-from-a-webview
Beta Was this translation helpful? Give feedback.
All reactions