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

# authenticationSessionRequest(_:didCompleteWithCallbackURL:)

Tells the delegate, typically a browser, that the authentication completed successfully.

```
optional func authenticationSessionRequest(_ authenticationSessionRequest: ASWebAuthenticationSessionRequest, didCompleteWithCallbackURL callbackURL: URL)
```

## Parameters

`authenticationSessionRequest`

The request sending the message.

`callbackURL`

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

---

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)