apigee / api-platform-samples

Working samples for the Apigee API Platform
Apache License 2.0
497 stars 713 forks source link

Fix oauth-advanced sample-proxy sample #99

Closed danybmx closed 2 years ago

danybmx commented 6 years ago

This PR is a quick fix for the oauth-advanced sample-proxy sample.

There are two changes:

  1. Fix the validator package version to 2.0.0 because new versions are not backwards compatible. A better solution could be update the logic to the newest validator version.

  2. Add the basePath variable to ejs render calls on login and registration when an error or validation issue occurs.

Regards!

googlebot commented 6 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers
danybmx commented 6 years ago

I signed it!

googlebot commented 6 years ago

CLAs look good, thanks!