JavaScript
Sign In with Apple
7 min
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 follow the sign in with apple tutorial to learn how to 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 javascript foder 2 open the project template open your editor choice click on file=>open file=>open navigate to the project folder and open the file index html index html 3 edit the template find in the template the following function 1 appleid auth init({ 2 clientid 'com back4app app servicesid', 3 scope 'email', 4 redirecturi 'https //example app com/redirect', 5 state = random 6 }); 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 open your browser of choice click on file >open file >open wait until the sign in with apple screen sign in with apple screen appears 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