How to add Sign in with Apple to your app using WorkOS
Blog post from WorkOS
Sign in with Apple offers a streamlined OAuth/OIDC authentication process for Apple users, allowing them to access web apps without creating new accounts, and providing privacy features like email address relay. The setup, which is slightly more involved than other social logins, requires an App ID, Service ID, and private key obtained from the Apple Developer Portal, and is facilitated through WorkOS, which manages the OAuth integration and displays a "Sign in with Apple" button on the hosted login page. This guide details the configuration process, including setting up Private Email Relay and integrating AuthKit in a Next.js app using the @workos-inc/authkit-nextjs SDK. WorkOS also provides options to add other authentication methods and features such as email and password authentication, social logins, Multi-Factor Authentication, and more, with the ability to extend functionality for enterprise customers, including SSO, directory sync, and audit logs.