<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
0D51Y000091kmUOSAYOkta Classic EngineAdministrationAnswered2024-04-15T09:22:20.000Z2020-08-26T13:02:58.000Z2020-09-02T13:53:00.000Z

bow5s (bow5s) asked a question.

Forgerock Directory to OKTA

Hi All,

 

Need to help in the context migration. I want to migrate ForgeRock Directory (all users) into OKTA with PASSWORD. I can easily import user profile (all the attributes to OKTA) but how do i push Password to OKTA (we are using SSHA 512 hashed password).

 

Thanks,

Jagadish


  • jerrell.gary1.4491858992560479E12 (Presales - Americas Commercial, Emerging West)

    Hello Jagadish,

     

    Thank you very much for your question. We will need to understand the architecture of your current environment. What version of Forge Rock Directory do you have deployed in your environment? How are you exporting the SSHA 512 hashed password, etc.? There are a lot of variables to be considered. I would recommend you opening a support case with Okta. There are a couple of ways you can open a support case with Okta.

     

    1)You can email us at support@okta.com or call the Support number at 1.800.219.0964.

     

    2) You might be able to leverage the Okta APIs and the Okta SDKs to achieve your goal, but I would suggest opening a support case with Okta so we can fully assess and evaluate your requirements.

     

    • Here is more information about the Okta APIs and the Okta SDKs listed below:

     

    API - https://developer.okta.com/docs/reference/api/users/#create-user-with-password

     

    Create User with Imported Hashed Password 

    Creates a user with a specified hashed password.

    The new user is able to sign in immediately after activation with the specified password. This flow is common when migrating users from another data store in cases where we want to allow the users to retain their current passwords.

    Important: Do not generate or send a one-time activation token when activating users with an imported password. Users should login with their imported password.

    Request Example

    curl -v -X POST \

    -H "Accept: application/json" \

    -H "Content-Type: application/json" \

    -H "Authorization: SSWS ${api_token}" \

    -d '{

    "profile": {

    "firstName": "Isaac",

    "lastName": "Brock",

    "email": "isaac.brock@example.com",

    "login": "isaac.brock@example.com",

    "mobilePhone": "555-415-1337"

    },

    "credentials": {

    "password" : {

    "hash": {

    "algorithm": "BCRYPT",

    "workFactor": 10,

    "salt": "rwh3vH166HCH/NT9XV5FYu",

    "value": "qaMqvAPULkbiQzkTCWo5XDcvzpk8Tna"

    }

    }

    }

    }' "https://${yourOktaDomain}/api/v1/users?activate=false"

    Response Example

    {

    "id": "00ub0oNGTSWTBKOLGLNR",

    "status": "ACTIVE",

    "created": "2013-07-02T21:36:25.344Z",

    "activated": null,

    "statusChanged": null,

    "lastLogin": null,

    "lastUpdated": "2013-07-02T21:36:25.344Z",

    "passwordChanged": "2013-07-02T21:36:25.344Z",

    "profile": {

    "firstName": "Isaac",

    "lastName": "Brock",

    "email": "isaac.brock@example.com",

    "login": "isaac.brock@example.com",

    "mobilePhone": "555-415-1337"

    },

    "credentials": {

    "password": {},

    "provider": {

    "type": "IMPORT",

    "name": "IMPORT"

    }

    },

    "_links": {

    "activate": {

    "href": "https://${yourOktaDomain}/api/v1/users/00ub0oNGTSWTBKOLGLNR/lifecycle/activate"

    },

    "self": {

    "href": "https://${yourOktaDomain}/api/v1/users/00ub0oNGTSWTBKOLGLNR"

    }

    }

    }

     

     

    Okta SDK - https://developer.okta.com/code/

    Expand Post
This question is closed.
Loading
Forgerock Directory to OKTA