Encrypt password when call api/v1/authn

Hi!

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?

Thanks!

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.

2 Likes

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