openid / openid/AppAuth-iOS

ASWebAuthenticationSession - Current init method is deprecated

Open
#847 0 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement triage
Dominant language
Objective-C
Stars
2k
Forks
867
Avg merge
4d 48m
Merged PRs (30d)
1

Description

Is your feature request related to a problem you're having? Please describe.
Just noticed that with iOS 17.4 Apple depreacted https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession/2990952-initwithurl?language=objc

Describe the solution you'd like
Use the new init method: https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession/4316247-initwithurl?language=objc
At first glance, this would finally allow us to support universal links better as the callback has better support for detecting callback URLs and schemes: https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsessioncallback?language=objc

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the ASWebAuthenticationSession integration and compare its current initializer with Apple's replacement API and ASWebAuthenticationSessionCallback documentation linked in the issue. Done means the deprecated initializer is no longer used and universal-link callback handling has the improved support described in the request.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
authentication, mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.