Encrypt password when call api/v1/authn


I’m testing Okta sign in APIs. I read some examples like below:

curl -v -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
  "username": "dade.murphy@example.com",
  "password": "correcthorsebatterystaple",
  "options": {
    "multiOptionalFactorEnroll": false,
    "warnBeforePasswordExpired": false
}' "https://${yourOktaDomain}/api/v1/authn"

The password is a plain text. Okta doesn’t have a way to send this password encrypt or hashed?


Hi @lawmatsuyama ! Okta currently doesn’t have a way to encrypt or hash passwords, however, it is sent in a TLS tunnel which is the protection layer as the endpoint requires HTTPS.


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.