invalid url while create "grand Code" to make access token

invalid url while create "grand Code" to make access token

Hi Team ,

I was trying to genarate  the Code by using php with this https://www.zoho.com/analytics/api/?php#generating-grant-token and I have choosen REDIRECT METHOD  In this I got below url to genarete CODE 
https://accounts.zoho.com/oauth/v2/auth?scope=<SCOPE>&client_id=<CLIENT_ID>&state=testing&response_type=code&redirect_uri=<REDIRECT_URI>&access_type=offline&prompt=consent
when I tried with my source of client id or client secret .

when I run my URL on brower or POSTMAN it is redirect to login page and once I login in it , I am getting error like 
Invalid Redirect Uri
Redirect URI passed does not match with the one configured 


I did not get this error ,
and how can i genarate CODE to make access token with the URL bez This  CODE is expairing every 10 min so I want genarate by URL .

Please help on it .

Thanks 
Sandeep 


          Zoho TeamInbox Resources

            Zoho DataPrep Resources


                Zoho CRM Plus Resources

                  Zoho Books Resources


                    Zoho Subscriptions Resources

                      Zoho Desk Resources

                        Zoho Projects Resources


                          Zoho Sprints Resources


                            Zoho Orchestly Resources


                              Zoho Creator Resources


                                Zoho WorkDrive Resources




                                    Zoho Campaigns Resources

                                      Zoho CRM Resources

                                                    Design. Discuss. Deliver.

                                                    Create visually engaging stories with Zoho Show.

                                                    Get Started Now


                                                      Zoho Show Resources


                                                        Zoho Writer Writer

                                                        Get Started. Write Away!

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

                                                                  有料プランをご利用の方