OAuth | FAQs & Troubleshooting - Zoho Accounts

I'm unable to find the refresh token in the HTTP response I received.

Follow the below steps to generate refresh tokens if you find it is missing in the HTTP response:
  1. To generate a refresh token for the first time, include  access_type=offline in /oauth/v2/auth to get refresh token along with the access token as a response for /oauth/v2/token. 
  2. To receive another refresh token, include access_type=offline and prompt=consent in your authorization request. Adding prompt=consent along with access_type=offline, will prompt the user to provide their consent whenever the app tries to access their details thereby creating refresh tokens repeatedly.
As refresh tokens have infinite lifetime, we recommend you to not follow the second step. Once created the refresh tokens will never expire unless you or the application delete them.

    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







                                                                                            You are currently viewing the help articles of Sprints 1.0. If you are a user of 2.0, please refer here.

                                                                                            You are currently viewing the help articles of Sprints 2.0. If you are a user of 1.0, please refer here.



                                                                                                  • Related Articles

                                                                                                  • What to do when error occurred during access token generation?

                                                                                                    The endpoint /oauth/v2/token supports only POST request. Request you hit directly from the browser is a GET request. Since token generation requests contain sensitive information like client secret and refresh tokens, GET request is not allowed. ...
                                                                                                  • How to automate OAuth token generation without browser intervention?

                                                                                                    Case 1 When you develop applications to source your own information, you won't have any proper redirection URLs. In that case, you can use Self Clients to get an authorization grant code. This one-time code can exchanged for an access token and a ...
                                                                                                  • When will the refresh tokens expire?

                                                                                                    No. Refresh tokens will never expire. However, there are some cases where the refresh tokens might get deleted: A client ID can have a maximum of 20 active refresh tokens. If you create the 21st token, the first token generated will be removed. When ...
                                                                                                  • You need to refresh your OneAuth app to sign in to your account.

                                                                                                    If you are using the old version of OneAuth, please upgrade to latest version (2.0) from Playstore or App store. What happened?  If you recently changed your Zoho account password and cleared all your desktop and app sessions, you will be signed out ...
                                                                                                  • You've exceeded the maximum attempts. To try again, refresh the page.

                                                                                                    What happened? If there is an attempt to sign in to your account by entering incorrect input sign-in factors 8 times continuously, we will temporary block sign-in from the browser tab where the attempt was made, and show this error message. The input ...
                                                                                                    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