JavaScript

Sign In with Apple

7min

Sign In with Apple - Javascript

Introduction

In this section you learn how to get started with an Javascript template in a few easy steps.

Prerequisites

To complete this quickstart, you need:

  • Set up Sign In with Apple in your Apple Developer account.

1 - Get the template

Clone or download the template at Back4App’s GitHub repository, open the Javascript foder.

2 - Open the project template

  1. Open your editor choice.
  2. Click on File=>Open
  3. Navigate to the project folder and open the fileindex.html

3 - Edit the template

Find in the template the following function

Swift


and replace the values for the clientID and redirectURI for the values you set in your Services ID in your Apple Developer account.

Save and close.

See more at our New Parse App guide.

4 - Test your App

  1. Open your browser of choice
  2. Click onFile->Open
  3. Wait until theSign in with Apple screen appears.
  4. Click the button and do the login process.

If everything works properly, you should be redirected to your URI.

Next Steps

At this point, you have learned how to get started with Javascript.

Learn more by walking around our iOS Tutorials or check Parse open source documentation for iOS SDK.



Updated 19 Mar 2024
Did this page help you?