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 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 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

                  Zoho SalesIQ Resources

                      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. ...
                                                          • 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 ...
                                                          • 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 ...
                                                          • Troubleshoot sign-in related issues

                                                            Please select the issue you have while signing in to your account: Getting an error when trying to sign in Having issues with multi-factor authentication (MFA) and couldn't access the account Having issues connecting to mail client Forgot the account ...



                                                          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