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 and I have choosen REDIRECT METHOD  In this I got below url to genarete CODE<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 .


          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.