<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00006xMFxJCAWOkta Identity EngineWorkflowsAnswered2021-05-20T12:00:22.000Z2021-05-11T17:13:36.000Z2021-05-20T12:00:22.000Z

DaveR.09205 (Customer) asked a question.

Token hook returns session json node for some environments but not others

We developed against one Okta account and then switched over to another; with the first one we were getting a session node in json from the token hook; with the new account we're not getting that json back. What accounts for the difference in the two accounts? Is there a config difference to look for between the two accounts or does it have to do with the status of the user?

 

This is what we were expecting:

{

      "session": {

        "id": "...",

        "userId": "...",

        "login": "...",

        "createdAt": "2021-05-10T20:19:31Z",

        "expiresAt": "2021-05-10T23:27:52Z",

        "status": "ACTIVE",

        "lastPasswordVerification": "2021-05-10T20:19:31Z",

...

        "idp": {

          "id": "...",

          "type": "OKTA"

        },

        "mfaActive": false

      }

      }


  • User16161947609323826273 (Vendor Management)

    Hi,

    Hope you are doing great,

     

    We were checking the question internally and we realize we must gather some information and compare the 2 accounts to see what is different between them. My recommendation and in order to get the best assistance on this request , is better if you open a normal case with Okta so we can take a look on all details regarding this case and give you the best possible solution. 

     

    Here is how you can open a case https://support.okta.com/help/s/article/How-to-Create-a-Support-Case

     

    Thank you.

    Expand Post
This question is closed.
Loading
Token hook returns session json node for some environments but not others