<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASWebAuthenticationSessionRequest/complete(withCallbackURL:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(cs)ASWebAuthenticationSessionRequest(im)completeWithCallbackURL:"
  },
  "title" : "complete(withCallbackURL:)"
}
-->

# complete(withCallbackURL:)

Indicates that the browser successfully completed the authentication attempt.

```
func complete(withCallbackURL url: URL)
```

## Parameters

`url`

A URL using the scheme indicated by the request’s [`callbackURLScheme`](/documentation/AuthenticationServices/ASWebAuthenticationSessionRequest/callbackURLScheme) property that indicates the outcome of the authentication attempt.

## Discussion

Call this method from your browser app when the authentication attempt completes to report the result of the attempt using the callback URL.

---

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)