Step 2: Request OTP Through Email

POST {{HOST}}/admin/v1/MyAuthenticationFactorInitiator

This step requests the OTP be sent through email.

The client must include the following attributes:

  • deviceId: received in the Step 1 response
  • requestId: received in the Step 1 response
  • userName: username of user

In the response, the otpCode is sent to the email address

Request Body

{"schemas"=>["urn:ietf:params:scim:schemas:oracle:idcs:AuthenticationFactorInitiator"], "deviceId"=>"bcb65790a29143ca960fa67fb530da63", "requestId"=>"f8ee0085-1091-4eb3-b1d4-657ea6e1f3b7o-o1541112590", "userName"=>"joe.bloggs@example.com", "authFactor"=>"EMAIL"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: Created

{"deviceId":"bcb65790a29143ca960fa67fb530da63","requestId":"f8ee0085-1091-4eb3-b1d4-657ea6e1f3b7o-o1541112590","authFactor":"EMAIL","userName":"joe.bloggs@example.com","displayName":"joe.bloggs@example.com","schemas":["urn:ietf:params:scim:schemas:oracle:idcs:AuthenticationFactorInitiator"]}