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.
For detailed information, please refer to our OAuth documentation

    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

                                                                                                        • 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 ...
                                                                                                        • I received an email from Zoho, but I don't have a Zoho account.

                                                                                                          If you've received an account confirmation email or a password reset email from Zoho that wasn't initiated by you using your email address, it could be due to someone mistakenly entering your email address. This might happen if your email address ...
                                                                                                          Wherever you are is as good as
                                                                                                          your workplace



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


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


                                                                                                            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