Skip to content

Redirect to app.bankid.com on android #399

@Abrissirba

Description

@Abrissirba

Describe the bug
On some browsers on android I get a strange behaviour when opening the bankid app with autostart token. When clicking on the button, the bankid application is opened. After succesfully authenticated, the browser it opened again. However, there is a network change error and than shortly after, it refreshes and shows app.bankid.com instead of the active login screen I was on before.

This only seems to happen the first time. When I try to login again, everything works as expected. This makes it very hard to debug.

I have been able to repreduce this on

  • Chrome
  • Edge
  • Chrome canary
  • Edge Canary

Not sure if related but I am connected to a vpn on the mobile.

What area is it related to
API, UI

To Reproduce
Steps to reproduce the behavior:

  1. Start login
  2. Click on button to open bankid
  3. Authenticate in bankid app
  4. Swishing to browser again, a netowrk change error appears and shortly after app.bankid.com is shown.

Expected behavior
The browser should not navigate to app.bankid.com

NuGet package version
6.0.3

Runtime version
net6.0

Smartphone (please complete the following information):

  • Device: Android Pixel 7
  • OS: Android 12
  • Browser Chrome, Edge

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions