stormpath / express-stormpath

Build simple, secure web applications with Stormpath and Express!
http://docs.stormpath.com/nodejs/express/
Apache License 2.0
325 stars 111 forks source link

Cannot change password through custom page #630

Open atrp opened 7 years ago

atrp commented 7 years ago

Hello,

We are trying to change the password for Okta users using a custom page.

        changePassword: {
            enabled: true,
            uri: "/api/change",
            view: __dirname + "/views/change-password.jade",
            nextUri: "/api/login?status=reset",
            errorUri: "/api/forgot?status=invalid_sptoken"
        },

However, when we reach the change password page (/api/change?sptoken=85YPx2dUcG2f7XHb0lHO), after we input the password twice and click login it just redirects to the same page and does no change the password.

Thank you.