Skip to content

Broken redirection in case of multiple external agents #932

@LZ-Dev1

Description

@LZ-Dev1

Describe the bug
My app opens login page on browser for user authentication, and if browser also use his own external user agent (some card reader app) instead of username and password then last external user agent will not redirect connection back to app's browser but will create new instance of browser separated from app and redirect there. If browser doesn't use his own external agent but login with username and password then redirection is not broken and result is sent back to my app.

To Reproduce
Steps to reproduce the behavior:

  1. Start a OIDExternalUserAgentSession, using for example: OIDAuthState.authState(...)
  2. Browser login page must have additional authentication methods besides the username and password used by external applications.
  3. On login page use another authentication method that use own external user agent
  4. Second external user agent returns result to new instance of browser, insted of external user agent

Expected behavior
Redirection goes back to root app

Screenshots
/

Environment

  • Device: iPhone 13
  • OS: 18.5
  • Browser: Safari

Additional context
/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions