Browser Redirect in Mac Catalyst
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 2k
- Forks
- 867
- Avg merge
- 4d 48m
- Merged PRs (30d)
- 1
Description
Describe the bug
When authenticating in a Mac Catalyst app, the user is switched to Safari instead of redirecting back to the app. The authentication completes successfully and the callback completes successfully. However, the user flow switches to Safari. This is confusing to the user.
To Reproduce
Steps to reproduce the behavior:
- Download the AppAuth Example-iOS_ObjC code. Enable configure for Google OpenID provider, enable Mac Catalyst and build for My Mac.
- Launch and tap "Authorize". The app opens a confirmation.
3, Confirm the authentication, the app opens the Google authentication web view window. - Complete the authentication process for Google
- The user is switched to Safari after authenticating. No new tab is opened.
- However, the authentication completes successfully and the callback is called.
Expected behavior
The user is switched back to the app.
Desktop (please complete the following information):
- OS: MacOS Catalina 10.15.2
- Browser : Safari
- Version : 1.3.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the AppAuth Example-iOS_ObjC reproduction configured for Google OpenID and Mac Catalyst, then trace the browser redirect and callback handling. Done means authentication still completes, but the user returns to the app instead of being left in Safari.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, macos, objective-c
- Domain
- authentication, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100