Skip to content

Better support for in-app browser logins #339

@sturlaj

Description

@sturlaj

When performing browser based flows within an app activelogin samedevice mode does not support redirects back to the app. For instance when using WebAuthenticator in Xamarin.

https://docs.microsoft.com/en-us/xamarin/essentials/web-authenticator?tabs=android

The link that is generated (within the app browser session) will typically look something like this. While authentication works, the BankId app will return the user to the browser window instead of the the original app.

https://app.bankid.com/?autostarttoken=5da4c0d8-1cda-4ae6-a914-7ad669931cee&redirect=https%3A%2F%2Flocalhost%3A44322%2FBankIdAuthentication%2FLogin%3FreturnUrl%3D%252Fsignin-bankid-samedevice%26loginOptions%3.....

Is there a recommended way to return to the app and successfully continue the login. Maybe by wrapping the redirect url in an app url scheme and handling it in the app (maybe in IBankIdLauncher.GetLAunchInfo)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions