Register a client in Apple | Zoho Creator Help

Register a client in Apple

In order to configure a federated login using an Apple account, you need to register a client(which Apple calls a 'Service') in the Apple developer portal. To configure the federated login, follow the steps provided here.


To add a new client:

Access your Apple developer account

  1. Go to the  Apple developer portal.
  2. Sign into your Apple developer account.

Generate an App ID

  1. Choose Identifiers under the Certificates, Identifiers & Profiles section.
  2. In the Identifiers page, click the blue plus icon.

  3. Choose App IDs and click Continue.

  4. Select App.
  5. On the next screen, you’ll have to enter a description and Bundle ID for the App ID.

  6. Then scroll down through the list of capabilities and check the box next to Sign In with Apple.
  7. Click Register

Generate Services ID

Next, we'll be creating a Services ID . This Services ID will serve as your Client ID within the Federated login configuration pane in Zoho Creator.
  1. In the Certificates, Identifiers & Profiles page, choose Identifiers from the side navigation and click the blue plus icon next to Identifiers.
  2. Choose Services IDs and click Continue.

  3. On the next screen, you’ll have to enter a description and identifier for the Services ID.

  4. Click Register.
  5. Then check the box next to Sign In with Apple.
  6. Click the Configure button.
  7. In the Web Authentication Configuration popup, enter the Redirect URI copied from Zoho Creator in the Return URL field. Subsequently, enter the domain of the Redirect URI in the Domains and Subdomains field.
  8. Make sure your associated App ID is chosen as the Primary App ID. If this is the first App ID you’ve made that uses Sign In with Apple, then it will probably already be selected.
  9. Go ahead and click Next and then Continue and Register until this step is completed. The Identifier displayed here is your Services ID.

Generate a key

  1. Next, we'll be registering a new key. Back in the main Certificates, Identifiers & Profiles screen, choose Keys from the side navigation. Click the blue plus icon next to Keys.

  2. In the Register a New Key page, give your key a name.
     
    Check the Sign in with Apple option and click the Configure button adjacent to it.

  3. In the Configure Key tab, select your primary App ID. Then click Save.


  4. Apple will generate a new private key for you and let you download it only once. Please download and safely store the .p8 file. Also note that the Key ID displayed here will be required later. Click Done.

Generate client secret

Now, we'll need to create a Client Secret by using the private key generated above. According to the Apple, the Client Secret needs to be an encrypted JWT token and it can generated by following the below steps:         
  1. Apple recommends the use of jwt.io to generate the JWT tokens. Go to jwt.io.
  2. In the Algorithm dropdown, choose ES256.

  3. Enter the following in the Header field with the " kid" being the Key ID generated in Step 22. 

    {
    "alg": "ES256",
    "kid": "ABC123DEFG"
    }
  4. Next enter the following in the Payload field.
    {
    "iss": "DEF123GHIJ",
    "iat": 1437179036,
    "exp": 1493298100,
    "aud": "  https://appleid.apple.com",
    "sub": "com.mytest.app"
    }
    wherein
    • "iss"  should be the App ID generated in Step 8.
    • "iat" should be the epoch time at which you generated the client secret in UTC.
    • "exp" should be the epoch time on or after which the client secret expires.
    • Tip:  You can use  Epoch convertor  for timestamp conversion.
    • "aud" should be  https://appleid.apple.com.
    • "sub" should be the identifier generated along with the Services ID, as shown in Step 16.
  5. Now, copy the entire contents of the .p8 file generated in Step 22 and paste it in the 'private key' section of the Verify Signature field.

  6. The JWT token will now be generated and displayed under the Encoded section. Copy it.
  7. Switch back to Zoho Creator and finish configuring the federated login by using the Client ID (i.e Services ID) from Step 18 and the Client Secret from step 28. 
  1. Understand federated login
  2. Configure federated login
  3. Register a client in Google
  4. Register a client in Facebook

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION








                                    You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                        Manage your brands on social media

                                          Zoho Desk Resources

                                          • Desk Community Learning Series


                                          • Digest


                                          • Functions


                                          • Meetups


                                          • Kbase


                                          • Resources


                                          • Glossary


                                          • Desk Marketplace


                                          • MVP Corner


                                          • Word of the Day


                                            Zoho Marketing Automation

                                              Zoho Sheet Resources

                                               

                                                  Zoho Forms Resources


                                                    Secure your business
                                                    communication with Zoho Mail


                                                    Mail on the move with
                                                    Zoho Mail mobile application

                                                      Stay on top of your schedule
                                                      at all times


                                                      Carry your calendar with you
                                                      Anytime, anywhere




                                                            Zoho Sign Resources

                                                              Sign, Paperless!

                                                              Sign and send business documents on the go!

                                                              Get Started Now




                                                                      Zoho TeamInbox Resources



                                                                              Zoho DataPrep Resources



                                                                                Zoho DataPrep Demo

                                                                                Get a personalized demo or POC

                                                                                REGISTER NOW


                                                                                  Design. Discuss. Deliver.

                                                                                  Create visually engaging stories with Zoho Show.

                                                                                  Get Started Now









                                                                                                      • Related Articles

                                                                                                      • Register a client in Google

                                                                                                        This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. In order to configure a federated login using a Google account, you need to register a client in Google. To add a new ...
                                                                                                      • Register a client in Facebook

                                                                                                        This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. In order to configure a federated login using a Facebook account, you need to register a client in Facebook. To add a new ...
                                                                                                      • Register with Zoho Creator

                                                                                                        Visit the Zoho Creator website. Fill out the sign-up form. Alternatively, you may sign up using your Google, Facebook, LinkedIn, or Office365 credentials. Learn more about federated sign-in. Click Change if you wish to change the country you want ...
                                                                                                      • Configure federated login

                                                                                                        This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. To configure the federated login: Click Portal under the Deploy section. A list of portals will be displayed. Click on the ...
                                                                                                      • iOS UI framework

                                                                                                        This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. In addition to the capabilities of the core framework, the UI framework offers predefined view controllers for the ...
                                                                                                        Wherever you are is as good as
                                                                                                        your workplace

                                                                                                          Resources

                                                                                                          Videos

                                                                                                          Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                          eBooks

                                                                                                          Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                          Webinars

                                                                                                          Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                          CRM Tips

                                                                                                          Make the most of Zoho CRM with these useful tips.



                                                                                                            Zoho Show Resources