Get MFA Secret
POST /oauth/mfa/secret
Basic Authorization (retrieve credentials from OAuth Application)
- Username: OAuth Client ID
- Password: OAuth Client Secret
- HTTP header:
Authorization: Basic base64(client_id:client_secret)
Headers
Content-Type: application/json
Request Body
| Key | Type | Required | Rule | Description |
|---|---|---|---|---|
| mfa_token | string | Mandatory | MFA token generated after validating ROPC credentials |
Expected HTTP status code
- 200
Response
| Name | Type | Description |
|---|---|---|
| mfa_secret | string | MFA Secret, QR Code can be generated using this secret |
Error
| Code | error | error_description |
|---|---|---|
400 | invalid_grant | Invalid Mfa token |
400 | invalid_grant | Mfa Activated |