Can I use OAuth2 to get user's zoho email?

Can I use OAuth2 to get user's zoho email?

Our company has a site with authorization ability. Everyone in company has his own zoho account, so I decided to make authorization on site through zoho.
Now I found this solution (very bad, but for example) using  ZohoCRM API:
  1. On login page of my site user clicks link https://accounts.zoho.com/oauth/v2/auth?scope=ZohoCRM.users.READ&response_type=code&redirect_uri=http://mysite.com/oauth2&client_id=<my_client_id>, give access for reading ZohoCRM users information and returns to http://mysite.com/oauth2 with code;
  2. I use given code to get access-token from https://accounts.zoho.com/oauth/v2/token as it described in ZohoCRM AP;
  3. Then I call https://www.zohoapis.com/crm/v2/users?type=CurrentUser to get array of users, where first user is he who is trying to log into my site, so I get his email, verify it is like <username>@mysite.com and authorize user on my site with his username.
This works great, but not for those who doesn't work with ZohoCRM, the just get error on the third step, becouse the havn't any access to ZohoCRM.

Can anyone help me to make the same steps that will work safity for everyone who has zoho account?
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方