Skip to content

Add support for app2app on iOS - #549

Closed
jogu wants to merge 1 commit into
openid:masterfrom
jogu:add-app2app
Closed

jogu wants to merge 1 commit into
openid:masterfrom
jogu:add-app2app

Conversation

@jogu

@jogu jogu commented Jun 22, 2020

Copy link
Copy Markdown
Contributor

If the user has an app installed that has a Universal Link registered
for the authorization endpoint, then launching that app will provide a
better user experience.

If the launch fails, we continue as before to use an in-app browser
tab etc.

See this OpenID Foundation blog post for further details:

https://openid.net/2019/10/21/guest-blog-implementing-app-to-app-authorisation-in-oauth2-openid-connect/

There was a question about whether to make this the default behaviour
or not; the documentation for OIDExternalUserAgentIOS says:

An iOS specific external user-agent that uses the best possible
user-agent available ...

so I think it's consistent with the documented goal to enable app2app
by default.

If the user has an app installed that has a Universal Link registered
for the authorization endpoint, then launching that app will provide a
better user experience.

If the launch fails, we continue as before to use an in-app browser
tab etc.

See this OpenID Foundation blog post for further details:

https://openid.net/2019/10/21/guest-blog-implementing-app-to-app-authorisation-in-oauth2-openid-connect/

There was a question about whether to make this the default behaviour
or not; the documentation for OIDExternalUserAgentIOS says:

> An iOS specific external user-agent that uses the best possible
> user-agent available ...

so I think it's consistent with the documented goal to enable app2app
by default.
@codecov-commenter

codecov-commenter commented Jun 22, 2020 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.75%. Comparing base (df840e8) to head (882464a).
⚠️ Report is 113 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #549   +/-   ##
=======================================
  Coverage   83.75%   83.75%           
=======================================
  Files          50       50           
  Lines        4617     4617           
=======================================
  Hits         3867     3867           
  Misses        750      750           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@w-goog

w-goog commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

Hi Joseph! Closing this one - the file it patches has moved to Sources/, and #954 removed the external-browser fallback it builds on, so it can't be rebased as-is. Please feel free to open a fresh PR against the current OIDExternalUserAgentIOS if this is still a desirable change :)

@w-goog w-goog closed this Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants