I recently set up and ran this sample successfully. I’m confident we can get it up and running for you. Could you send some more details – which one of the four proxies are you not able to deploy?
By the way, this example is a complete, end to end implementation of OAuth 2 on Apigee.
Have you been able to deploy any sample apiproxy from github? If not there could be some issues with your env settings. Also are you getting this error when deploying it to your org or when you are trying to access the proxy URL?
Hi I have deployed the sample as specified here but when i used yo oauth-auth-code-grant-sample it showed
‘.’ is not recognized as an internal or external command, operable program or batch file. The system cannot find the path specified.
in the screen. When I tried clicking the button at http://myorg-myenv.apigee.net/web I did not get any response, so when I went through the proxy I saw client Id has no appropriate value so I replaced with my product key then I accessed it, then it went to the login page. Now when I try to login it says authentication failed. Can anyone help me to get through this.
If anyone did this 3 legged oauth successfully please guide me. I am looking forward. Thanks in advance.
@sathyajayavel , It should work. I have tried recently. Looks like its more of node packages installation & path issues. Looks like yo command is not working for you.
This particular error seems isolated to Windows. I ran through the same sample on a Mac and it works fine. Running on a Windows 10 machine produced the same result as you see @sathyajayavel. Someone would need to look through the scripts to understand more why it’s not working on Windows.
If you have no other machine, perhaps you could install a Linux VM on Oracle VirtualBox (or some other VM) to run through your tests and sample.
Hi Experts, I am trying to implement this sample and I am able to implement till step 3 properly. After I login with my credentials, It doesnt redirect me to proper page and it gives me following error in the browser “error outside req:Error: connect ECONNREFUSED”.
It seems to be some connection issue but I dont know what is causing this. Can anyone help me out.