Error while setting up Oauth sample code

Hi,

I am trying to setup the OAuth Sample code for Authorization Code from:

https://github.com/apigee/api-platform-samples/tree/master/sample-proxies/oauth-advanced

But at the step : yo oauth-auth-code-grant-sample

Once it takes all the details about org and env, all the proxy are trying to load but at the end I am getting the below error:

10892-error.jpg

Can anyone please help me regarding this.

Thank you.

0 3 87
3 REPLIES 3

I'm sorry you're having trouble.

Let me see if I can find someone who can help you with this sample.

Hi Dino,

Thank you for the quick response.

I was able to deploy all the 4 proxies using the yo commands. I think it was the issue with npm install. I deleted everything and installed again. And all the apis and apps where created.

But now I am getting the below error for the login app(It is half deployed):

"The revision is deployed but the traffic cannot flow"

Can you please help me regarding this.

Thank you.

Hi Lipi,

Please consider using a more up to date / representative example as found here

Thanks! Sean