Giter Site home page Giter Site logo

Comments (3)

zono avatar zono commented on August 14, 2024 1

I found a workaround. I changed the two files then It worked.

  • routes/registration.js
validateForm = function (title, firstname, lastname, email, password, verifypassword) {
  var errors = [];
  return errors; 
}; 
  • routes/login.js
validateLoginForm = function (username, password) {
  var errors = [];
  return errors;
};

from api-platform-samples.

zono avatar zono commented on August 14, 2024

I found the bug report (#42) and description of the bug.

Note that there's a bug (#42) where certain passwords cause the registration to fail (throw a stacktrace error). For example, a password like 566559aa throws an error, while apigee123 does not. Until further notice, when trying out this sample, try using apigee123 as your password if see an error like this when you click the "Register" button.
https://github.com/apigee/api-platform-samples/tree/master/sample-proxies/oauth-advanced

I used "apigee123" but still I got the same error.

from api-platform-samples.

TheDoktar avatar TheDoktar commented on August 14, 2024

Same issue. Have so far been unable to resolve.

from api-platform-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.