Giter Club home page Giter Club logo

Comments (8)

rdegges avatar rdegges commented on July 24, 2024

I actually just started making changes to correct this in the last 2 releases -- I currently re-did the password reset stuff to work properly on edge cases like this, and will roll out the rest of those changes for the other endpoints.

Sorry about that!

When I initially wrote this I skimped on the error handling there ><

from express-stormpath.

lemieux avatar lemieux commented on July 24, 2024

Awesome! Do you have an idea of when it could be released? Just want to know if I do a quick patch on my end while I wait for the official support for this (no pressure).

from express-stormpath.

rdegges avatar rdegges commented on July 24, 2024

I am prolly gonna get to this one tomorrow! So, if you need it before then you can hack it together ^^

from express-stormpath.

lemieux avatar lemieux commented on July 24, 2024

Tomorrow is alright ☺
On Oct 27, 2014 5:51 PM, "Randall Degges" [email protected] wrote:

I am prolly gonna get to this one tomorrow! So, if you need it before then
you can hack it together ^^


Reply to this email directly or view it on GitHub
#28 (comment)
.

from express-stormpath.

rdegges avatar rdegges commented on July 24, 2024

Quick update: working on this now.

from express-stormpath.

robertjd avatar robertjd commented on July 24, 2024

Bump this - a lot of useful error information (such as when an account store is disabled) is simply being rendered as an "Oops" message

from express-stormpath.

rdegges avatar rdegges commented on July 24, 2024

OK. I have an idea for this.

I'm thinking about creating an event emitter for error handling.

EG:

app.on('failedAPIAuthenticationAttempt', function(req, res, next) {
...
});

app.on('failedWebAuthenticationAttempt', function(req, res, next) {
...
});

etc

What do you think?

from express-stormpath.

robertjd avatar robertjd commented on July 24, 2024

This was fixed a long time ago, the library is now directly passing errors that come from the Stormpath API.

from express-stormpath.

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.