openiddict / openiddict-core

Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
https://openiddict.com/
Apache License 2.0
4.47k stars 527 forks source link

Update OpenIddict.Client.SystemIntegration to use the new ASWebAuthenticationSessionCallback API #2164

Closed kevinchalet closed 3 months ago

kevinchalet commented 3 months ago

Confirm you've already contributed to this project or that you sponsor it

Describe the solution you'd like

Starting with iOS 17.4/macOS 14.4/Mac Catalyst 17.4, the ASWebAuthenticationSession initializer accepting a custom scheme is deprecated and replaced by a different API using the new ASWebAuthenticationSessionCallback type.

This new API allows supporting HTTPS callback URIs/Universal Links.

Additional context

https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession/callback/https(host:path:)