I have implemented Okta login in my application. I have used '/api/v1/authn' api to login. I have send the input for the service as
{
"username": "{{username}}",
"password": "{{password}}",
"options": {
"multiOptionalFactorEnroll": true,
"warnBeforePasswordExpired": true
}
}
Here, the password I sent is visible and is there any way to send it securely.
I have also tried a api with Authorization key as 'SSWS {{apikey}}' and input as
{
"username": "{{username}}",
"password" : "{{password}}",
"relayState": "{{relayState}}",
"options": {
"multiOptionalFactorEnroll": true,
"warnBeforePasswordExpired": true
},
"context": {
"deviceToken": "{{devicetoken}}"
}
}
Here, the device token will be expired after 30 days. Is there a way to get the device token which wont expires or is there any service to renew a device token.
Also, in this service the password is visible. Please help to send the password securely in both the service.
Thanks in Advance.