Skip to content

OIDExternalUserAgentIOS not run in main tread #532

Open

Description

@jaroshevskii

Describe the bug
presentationAnchorForWebAuthenticationSession, -[UIView window] must be used from main thread only

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Tap on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • Device: MacBook Pro 2019
  • OS: macOS 15
  • Browser: embedded iOS app popup browser

Additional context

Image

Activity

  1. added
    bugSomething isn't working
    triageIssues that need to be triaged
    on Jun 13, 2025
  2. brnnmrls commented on Jul 16, 2025

    @brnnmrls
    Member

    Hey! Feel free to submit a bug this bug to https://github.com/openid/AppAuth-iOS/issues as it seems like it'd be relevant to AppAuth. In any case, I took a look and did not come across this warning. Is this happening when you open the DaysUntilBirthday sample app perhaps or is this your own app?

  3. vg-identance commented on Jul 29, 2025

    @vg-identance

    Found same issue. @jaroshevskii make sure you call GIDSignIn.sharedInstance.signIn(... from main thread. Interesting thing that nested await calls don't guarantee to be on Main as first one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions