Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for app2app on iOS #549

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jogu
Copy link
Contributor

@jogu jogu commented Jun 22, 2020

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
Copy link

codecov-commenter commented Jun 22, 2020

Codecov Report

Merging #549 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

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

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update df840e8...882464a. Read the comment docs.

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.

3 participants