Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Updating data in Okta portal is overwritten if user is logged in #629

@atrp

Description

@atrp

Example: If we update a custom field in Okta and logout out from our application and log back in the data we previously saved in Okta is replaced by the data stored in the users's session even though they logged out.

We do want to update a custom filed when we login (but apparently it updates all custom data which also has the previous data stored in the session).

    postLoginHandler: function(acct, req, res, next) {
        acct.customData.lastLogin = moment().tz('America/Chicago').format('YYYY-MM-DD');
        acct.customData.save();
        next();
    },

This could be related to #605

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions