<!--
{
  "availability" : [
    "iOS: 11.0.0 - 12.0.0",
    "iPadOS: 11.0.0 - 12.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "swift: -"
  ],
  "documentType" : "symbol",
  "framework" : "SafariServices",
  "identifier" : "/documentation/SafariServices/SFAuthenticationSession/init(URL:callbackURLScheme:completionHandler:)-7iwvl",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Safari Services"
    ],
    "preciseIdentifier" : "c:objc(cs)SFAuthenticationSession(im)initWithURL:callbackURLScheme:completionHandler:::SYNTHESIZED::c:objc(cs)SFAuthenticationSession"
  },
  "title" : "init(URL:callbackURLScheme:completionHandler:)"
}
-->

# init(URL:callbackURLScheme:completionHandler:)

```
init(URL: URL, callbackURLScheme: String?, completionHandler: @escaping SFAuthenticationSession.CompletionHandler)
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)