---
title: Simplifying User Authentication in a tvOS App
framework: authenticationservices
role: sampleCode
role_heading: Sample Code
path: authenticationservices/simplifying-user-authentication-in-a-tvos-app
---

# Simplifying User Authentication in a tvOS App

Build a fluid sign-in experience for your tvOS apps using AuthenticationServices.

## Overview

Overview note: This sample code project is associated with WWDC21 session 10279: Simplify sign in for your tvOS apps. Configure the Sample Code Project To configure the sample code project, perform the following steps in Xcode: Add your Apple ID account and assign the target to a team so Xcode can enable the Associated Domains capability with your provisioning profile. Configure your Supporting associated domains in the Associated Domains capability and your website’s associated domains file. Set up an Apple TV running tvOS 15 and an iPhone or iPad running iOS 15 or iPadOS 15. Add the same Apple ID to both devices. Alternatively, you may pair the iPhone or iPad with the Apple TV. Set the Apple TV as the run destination in the scheme pop-up menu. In the toolbar, click Run, or choose Product > Run.

## See Also

### Sign In with Apple

- [Implementing User Authentication with Sign in with Apple](authenticationservices/implementing-user-authentication-with-sign-in-with-apple.md)
- [SignInWithAppleButton](authenticationservices/signinwithapplebutton.md)
- [Sign in with Apple Entitlement](bundleresources/entitlements/com.apple.developer.applesignin.md)
- [ASAuthorizationAppleIDProvider](authenticationservices/asauthorizationappleidprovider.md)
- [ASAuthorizationAppleIDCredential](authenticationservices/asauthorizationappleidcredential.md)
