Server-Side Sign in with Apple

You may know how to set up Sign in with Apple in an iOS project, but most tutorials don’t actually cover what to do on the backend! In this course, you’ll learn just that. In the first part of this course you’ll learn how Sign in with Apple works and how it differs from regular authentication. You’ll see how to integrate it with your existing authentication flow to provide users the option to use their preferred authentication choice. You’ll also see how to allow users to sign in with both Sign in with Apple and a regular username and password. In the second part of this course you’ll learn how to adopt Sign in with Apple on the web and integrate it on a website. This allows you to offer Sign in with Apple no matter how your users are using your app. By Tim Condon.

Leave a rating/review
Download materials
Save for later
Comments
Share

Who is this for?

Swift developers who want to learn how to adopt Sign in with Apple

Covered concepts

  • Vapor
  • Sign in with Apple
  • Authentication

Part 1: Add Sign in with Apple to an iOS Project

01
Toggle description

In this video we’ll learn about the theory of Sign in with Apple and how it works. We’ll cover the different parts it needs, what it provides and how to integrate it into your existing authentication flow in your app.

In this video you’ll learn how to add Sign in with Apple to your Vapor app so users can authenticate and sign up with their Apple account. You’ll see how to use Vapor’s JWT library to authenticate the tokens provided by iOS.

Toggle description

In this video you’ll learn now to add Sign in with Apple to your iOS application so that you can offer users the option to authenticate with their Apple account. You’ll learn how to enable Sign in with Apple to the app and show the button in the login view.

Toggle description

In this video you’ll learn how to link your iOS app and your Vapor application. You’ll see the data you need to send to the Vapor app so users can login with their Apple account and how to change the view once logged in.

In this video you’ll learn how to integrate existing users when they authenticate with Sign in with Apple for the first time. This provides users the opportunity to authenticate with both methods and switch between authentication methods.

Part 2: Add Sign in with Apple to a Website

In this video you’ll learn how to configure Sign in wth Apple for the web in the Apple Developer portal. You’ll see how to set up a new application, configure the redirect URL and get the client ID. Finally you’ll see how to configure those in Xcode.

In this video you’ll learn how to add a Sign in with Apple button to your website log in page. You’ll see how to configure the scripts and pass a state through for authenticating.

Toggle description

In this video you’ll learn how to handle the Sign in with Apple callback on your website. You’ll see what to do with the information Apple returns and how to work around issues caused with the SameSite cookies security protections.

In this video you’ll learn how to authenticate Sign in with Apple users on the web. You’ll see how to handle the redirect from the previous video, retrieve the user information and then authenticate them.