Make it easy for users to log into apps and services.


Use the Authentication Services framework to improve the experience of users when they enter credentials to establish their identity.

  • Give users the ability to sign into your services with their Apple ID.

  • Enable users to look up their stored passwords from within the sign-in flow of an app.

  • Share data between an app and a web browser using technologies like OAuth to leverage existing web-based logins in the app.

  • Create a single sign-on (SSO) experience in an enterprise app.

Simple and straightforward sign-up and sign-in flows reduce the burden on the user to remember passwords. This encourages the use of strong passwords, which improves security.


Sign In with Apple

Adding the Sign In with Apple Flow to Your App

Provide a fast, secure, and privacy-friendly way for users to set up an account and start using your services.

Sign In with Apple Entitlement

An entitlement that lets your app use Sign In with Apple.

class ASAuthorizationAppleIDProvider

A mechanism for generating requests to authenticate users based on their Apple ID.

class ASAuthorizationController

A controller that manages authorization requests created by a provider.

class ASAuthorizationAppleIDCredential

A credential that results from a successful Apple ID authentication.

Password-Based Login

Password AutoFill

Streamline your app’s login and onboarding procedures.

class ASAuthorizationPasswordProvider

A mechanism for generating requests to perform keychain credential sharing.

class ASPasswordCredential

A password credential.

Web-Based Login

class ASWebAuthenticationSession

A session that an app uses to authenticate a user through a web service.

Enterprise Single Sign-On

class ASAuthorizationSingleSignOnProvider

A mechanism for generating requests to authenticate users with third-party providers.

class ASAuthorizationSingleSignOnCredential

A credential that results from a successful single sign-on (SSO) authentication.

protocol ASAuthorizationProviderExtensionAuthorizationRequestHandler

An interface through which a single sign-on (SSO) authentication provider extension handles authentication requests.

AutoFill Credential Provider Support

AutoFill Credential Provider Entitlement

A Boolean value that indicates whether the app may, with user permission, provide user names and passwords for AutoFill in Safari and other apps.

class ASCredentialProviderViewController

A view controller that a password manager app uses to extend Password AutoFill.

Web Browser Authentication Session Support

Supporting Single Sign-On in a Web Browser App

Extend your web browser app to handle web authentication requests from other apps.

class ASWebAuthenticationSessionWebBrowserSessionManager

A session manager that mediates sharing data between an app and a web browser.

property list key ASWebAuthenticationSessionWebBrowserSupportCapabilities

A collection of keys that a browser app uses to declare its ability to handle authentication requests from other apps.