<!--
{
  "availability" : [
    "macOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationProviderExtensionLoginManager/presentRegistrationViewController(completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(cs)ASAuthorizationProviderExtensionLoginManager(im)presentRegistrationViewControllerWithCompletion:"
  },
  "title" : "presentRegistrationViewController(completion:)"
}
-->

# presentRegistrationViewController(completion:)

Requests platform single sign-on to show the extension’s view controller to the user.

```
func presentRegistrationViewController(completion: @escaping @Sendable ((any Error)?) -> Void)
```

```
func presentRegistrationViewController() async throws
```

## Parameters

`completion`

A completion handler that the method uses to indicate whether the view controller presents successfully, and the specific error if it doesn’t.

## Discussion

This is only valid during registration. If the system can’t show the controller, the completion returns an error.

---

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)