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 https //www back4app com/docs/platform/sign in with apple 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 https //github com/back4app/signinwithapple , open the \<font color="#2166ae">javascript\</font> foder 2 open the project template open your editor choice click on \<font color="#2166ae">file=\>open\</font> navigate to the project folder and open the file \<font color="#2166ae">index html\</font> 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 https //www back4app com/docs/get started/new parse app#creating new app find your appid 4 test your app open your browser of choice click on \<font color="#2166ae">file \>open\</font> wait until the \<font color="#2166ae">sign in with apple screen\</font> 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 https //www back4app com/docs/ios/ios app template or check parse open source documentation for ios sdk https //docs parseplatform org/ios/guide/