POST https://your-domain.okta.com/api/v1/authn
{
"username": "[email protected]",
"password": "GoAw@y123",
"relayState": "/myapp/some/deep/link/i/want/to/return/to",
"context": {
"ipAddress": "192.168.12.11",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3)",
"deviceToken": "26q43Ak9Eh04p7H6Nnx0m69JqYOrfVBY"
}
}
{
"stateToken": "00Z20ZhXVrmyR3z8R-m77BvknHyckWCy5vNwEA6huD",
"expiresAt": "2014-11-02T23:44:41.736Z",
"status": "MFA_ENROLL",
"relayState": "/myapp/some/deep/link/i/want/to/return/to",
"_embedded": {
"user": {
"id": "00ub0oNGTSWTBKOLGLNR",
"profile": {
"login": "[email protected]",
"firstName": "Isaac",
"lastName": "Brock",
"locale": "en_US",
"timeZone": "America/Los_Angeles"
}
},
"factors": [
{
"factorType": "push",
"provider": "OKTA",
"_links": {
"enroll": {
"href": "https://your-domain.okta.com/api/v1/authn/factors",
"hints": {
"allow": [
"POST"
]
}
}
}
}
]
},
"_links": {
"cancel": {
"href": "https://your-domain.okta.com/api/v1/authn/cancel",
"hints": {
"allow": [
"POST"
]
}
}
}
}
POST https://your-domain.okta.com/api/v1/authn/factors
{
"stateToken": "00Z20ZhXVrmyR3z8R-m77BvknHyckWCy5vNwEA6huD",
"factorType": "push",
"provider": "OKTA"
}
{
"stateToken": "00lT7DEzQaeP6mv1_y3pdXjNEONzk83mXX-yhgEdVQ",
"expiresAt": "2014-11-03T00:46:09.700Z",
"status": "MFA_ENROLL_ACTIVATE",
"relayState": "/myapp/some/deep/link/i/want/to/return/to",
"factorResult": "WAITING",
"_embedded": {
"user": {
"id": "00ub0oNGTSWTBKOLGLNR",
"profile": {
"login": "[email protected]",
"firstName": "Isaac",
"lastName": "Brock",
"locale": "en_US",
"timeZone": "America/Los_Angeles"
}
},
"factor": {
"id": "opfh52xcuft3J4uZc0g3",
"factorType": "push",
"provider": "OKTA",
"profile": {
},
"_embedded": {
"activation": {
"expiresAt": "2015-04-01T15:57:32.000Z",
"_links": {
"qrcode": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/qr/00fukNElRS_Tz6k-CFhg3pH4KO2dj2guhmaapXWbc4",
"type": "image/png"
},
"send": [
{
"name": "email",
"href": "https://your-domain.okta.com/api/v1/users/00u15s1KDETTQMQYABRL/factors/mbl1nz9JHJGHWRKMTLHP/lifecycle/activate/email",
"hints": {
"allow": [
"POST"
]
}
},
{
"name": "sms",
"href": "https://your-domain.okta.com/api/v1/users/00u15s1KDETTQMQYABRL/factors/mbl1nz9JHJGHWRKMTLHP/lifecycle/activate/sms",
"hints": {
"allow": [
"POST"
]
}
}
]
}
}
}
}
},
"_links": {
"next": {
"name": "poll",
"href": "https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/lifecycle/activate/poll",
"hints": {
"allow": [
"POST"
]
}
},
"cancel": {
"href": "https://your-domain.okta.com/api/v1/authn/cancel",
"hints": {
"allow": [
"POST"
]
}
},
"prev": {
"href": "https://your-domain.okta.com/api/v1/authn/previous",
"hints": {
"allow": [
"POST"
]
}
}
}
}
POST https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/lifecycle/activate/sms
{
"stateToken": "00wlafXU2GV9I3tNvDNkOA1thqM5gDwCOgHID_-Iej",
"profile": {
"phoneNumber": "+1-555-415-1337"
}
}
{
"stateToken": "00lT7DEzQaeP6mv1_y3pdXjNEONzk83mXX-yhgEdVQ",
"expiresAt": "2014-11-03T00:46:09.700Z",
"status": "MFA_ENROLL_ACTIVATE",
"relayState": "/myapp/some/deep/link/i/want/to/return/to",
"factorResult": "WAITING",
"_embedded": {
"user": {
"id": "00ub0oNGTSWTBKOLGLNR",
"profile": {
"login": "[email protected]",
"firstName": "Isaac",
"lastName": "Brock",
"locale": "en_US",
"timeZone": "America/Los_Angeles"
}
},
"factor": {
"id": "opfh52xcuft3J4uZc0g3",
"factorType": "push",
"provider": "OKTA",
"profile": {
},
"_embedded": {
"activation": {
"expiresAt": "2015-04-01T15:57:32.000Z",
"_links": {
"qrcode": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/qr/00fukNElRS_Tz6k-CFhg3pH4KO2dj2guhmaapXWbc4",
"type": "image/png"
},
"send": [
{
"name": "email",
"href": "https://your-domain.okta.com/api/v1/users/00u15s1KDETTQMQYABRL/factors/mbl1nz9JHJGHWRKMTLHP/lifecycle/activate/email",
"hints": {
"allow": [
"POST"
]
}
},
{
"name": "sms",
"href": "https://your-domain.okta.com/api/v1/users/00u15s1KDETTQMQYABRL/factors/mbl1nz9JHJGHWRKMTLHP/lifecycle/activate/sms",
"hints": {
"allow": [
"POST"
]
}
}
]
}
}
}
}
},
"_links": {
"next": {
"name": "poll",
"href": "https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/lifecycle/activate",
"hints": {
"allow": [
"POST"
]
}
},
"cancel": {
"href": "https://your-domain.okta.com/api/v1/authn/cancel",
"hints": {
"allow": [
"POST"
]
}
},
"prev": {
"href": "https://your-domain.okta.com/api/v1/authn/previous",
"hints": {
"allow": [
"POST"
]
}
}
}
}
POST https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/lifecycle/activate
{
"stateToken": "00wlafXU2GV9I3tNvDNkOA1thqM5gDwCOgHID_-Iej"
}
HTTP/1.1 202 Accepted
{
"stateToken": "00lT7DEzQaeP6mv1_y3pdXjNEONzk83mXX-yhgEdVQ",
"expiresAt": "2014-11-03T00:46:09.700Z",
"status": "MFA_ENROLL_ACTIVATE",
"relayState": "/myapp/some/deep/link/i/want/to/return/to",
"factorResult": "WAITING",
"_embedded": {
"user": {
"id": "00ub0oNGTSWTBKOLGLNR",
"profile": {
"login": "[email protected]",
"firstName": "Isaac",
"lastName": "Brock",
"locale": "en_US",
"timeZone": "America/Los_Angeles"
}
},
"factor": {
"id": "opfh52xcuft3J4uZc0g3",
"factorType": "push",
"provider": "OKTA",
"profile": {
},
"_embedded": {
"activation": {
"expiresAt": "2015-04-01T15:57:32.000Z",
"_links": {
"qrcode": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/qr/00fukNElRS_Tz6k-CFhg3pH4KO2dj2guhmaapXWbc4",
"type": "image/png"
},
"send": [
{
"name": "email",
"href": "https://your-domain.okta.com/api/v1/users/00u15s1KDETTQMQYABRL/factors/mbl1nz9JHJGHWRKMTLHP/lifecycle/activate/email",
"hints": {
"allow": [
"POST"
]
}
},
{
"name": "sms",
"href": "https://your-domain.okta.com/api/v1/users/00u15s1KDETTQMQYABRL/factors/mbl1nz9JHJGHWRKMTLHP/lifecycle/activate/sms",
"hints": {
"allow": [
"POST"
]
}
}
]
}
}
}
}
},
"_links": {
"next": {
"name": "poll",
"href": "https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/lifecycle/activate",
"hints": {
"allow": [
"POST"
]
}
},
"cancel": {
"href": "https://your-domain.okta.com/api/v1/authn/cancel",
"hints": {
"allow": [
"POST"
]
}
},
"prev": {
"href": "https://your-domain.okta.com/api/v1/authn/previous",
"hints": {
"allow": [
"POST"
]
}
}
}
}
POST https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/lifecycle/activate
{
"stateToken": "00wlafXU2GV9I3tNvDNkOA1thqM5gDwCOgHID_-Iej"
}
HTTP/1.1 202 Accepted
{
"stateToken": "00lT7DEzQaeP6mv1_y3pdXjNEONzk83mXX-yhgEdVQ",
"expiresAt": "2014-11-03T00:46:09.700Z",
"status": "MFA_ENROLL_ACTIVATE",
"relayState": "/myapp/some/deep/link/i/want/to/return/to",
"factorResult": "WAITING",
"_embedded": {
"user": {
"id": "00ub0oNGTSWTBKOLGLNR",
"profile": {
"login": "[email protected]",
"firstName": "Isaac",
"lastName": "Brock",
"locale": "en_US",
"timeZone": "America/Los_Angeles"
}
},
"factor": {
"id": "opfh52xcuft3J4uZc0g3",
"factorType": "push",
"provider": "OKTA",
"profile": {
},
"_embedded": {
"activation": {
"expiresAt": "2015-04-01T15:57:32.000Z",
"_links": {
"qrcode": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/qr/00fukNElRS_Tz6k-CFhg3pH4KO2dj2guhmaapXWbc4",
"type": "image/png"
},
"send": [
{
"name": "email",
"href": "https://your-domain.okta.com/api/v1/users/00u15s1KDETTQMQYABRL/factors/mbl1nz9JHJGHWRKMTLHP/lifecycle/activate/email",
"hints": {
"allow": [
"POST"
]
}
},
{
"name": "sms",
"href": "https://your-domain.okta.com/api/v1/users/00u15s1KDETTQMQYABRL/factors/mbl1nz9JHJGHWRKMTLHP/lifecycle/activate/sms",
"hints": {
"allow": [
"POST"
]
}
}
]
}
}
}
}
},
"_links": {
"next": {
"name": "poll",
"href": "https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/lifecycle/activate",
"hints": {
"allow": [
"POST"
]
}
},
"cancel": {
"href": "https://your-domain.okta.com/api/v1/authn/cancel",
"hints": {
"allow": [
"POST"
]
}
},
"prev": {
"href": "https://your-domain.okta.com/api/v1/authn/previous",
"hints": {
"allow": [
"POST"
]
}
}
}
}
POST https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/lifecycle/activate
{
"stateToken": "00wlafXU2GV9I3tNvDNkOA1thqM5gDwCOgHID_-Iej"
}
HTTP/1.1 200 OK
{
"expiresAt": "2014-11-03T10:15:57.000Z",
"status": "SUCCESS",
"relayState": "/myapp/some/deep/link/i/want/to/return/to",
"sessionToken": "00Fpzf4en68pCXTsMjcX8JPMctzN2Wiw4LDOBL_9pe",
"_embedded": {
"user": {
"id": "00ub0oNGTSWTBKOLGLNR",
"profile": {
"login": "[email protected]",
"firstName": "Isaac",
"lastName": "Brock",
"locale": "en_US",
"timeZone": "America/Los_Angeles"
}
}
}
}
When activation expires, the next
link relation reverts to activate.
Note: Embedded activation object is intentionally missing during timout
POST https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/lifecycle/activate
{
"stateToken": "00wlafXU2GV9I3tNvDNkOA1thqM5gDwCOgHID_-Iej"
}
HTTP/1.1 200 OK
{
"stateToken": "00lT7DEzQaeP6mv1_y3pdXjNEONzk83mXX-yhgEdVQ",
"expiresAt": "2014-11-03T00:46:09.700Z",
"status": "MFA_ENROLL_ACTIVATE",
"relayState": "/myapp/some/deep/link/i/want/to/return/to",
"factorResult": "TIMEOUT",
"_embedded": {
"user": {
"id": "00ub0oNGTSWTBKOLGLNR",
"profile": {
"login": "[email protected]",
"firstName": "Isaac",
"lastName": "Brock",
"locale": "en_US",
"timeZone": "America/Los_Angeles"
}
},
"factor": {
"id": "opfh52xcuft3J4uZc0g3",
"factorType": "push",
"provider": "OKTA",
"profile": {
}
}
},
"_links": {
"next": {
"name": "activate",
"href": "https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/lifecycle/activate",
"hints": {
"allow": [
"POST"
]
}
},
"cancel": {
"href": "https://your-domain.okta.com/api/v1/authn/cancel",
"hints": {
"allow": [
"POST"
]
}
},
"prev": {
"href": "https://your-domain.okta.com/api/v1/authn/previous",
"hints": {
"allow": [
"POST"
]
}
}
}
}
POST https://your-domain.okta.com/api/v1/authn
{
"username": "[email protected]",
"password": "GoAw@y123",
"relayState": "/myapp/some/deep/link/i/want/to/return/to",
"context": {
"ipAddress": "192.168.12.11",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3)",
"deviceToken": "26q43Ak9Eh04p7H6Nnx0m69JqYOrfVBY"
}
}
{
"stateToken": "00Z20ZhXVrmyR3z8R-m77BvknHyckWCy5vNwEA6huD",
"expiresAt": "2014-11-02T23:44:41.736Z",
"status": "MFA_REQUIRED",
"relayState": "/myapp/some/deep/link/i/want/to/return/to",
"_embedded": {
"user": {
"id": "00ub0oNGTSWTBKOLGLNR",
"profile": {
"login": "[email protected]",
"firstName": "Isaac",
"lastName": "Brock",
"locale": "en_US",
"timeZone": "America/Los_Angeles"
}
},
"factors": [
{
"id": "opfh52xcuft3J4uZc0g3",
"factorType": "push",
"provider": "OKTA",
"profile": {
"platform": "IOS",
"deviceType": "SMARTPHONE",
"name": "karl iPhone",
"version": "8.1"
},
"_links": {
"verify": {
"href": "https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/verify",
"hints": {
"allow": [
"POST"
]
}
}
}
}
]
},
"_links": {
"cancel": {
"href": "https://your-domain.okta.com/api/v1/authn/cancel",
"hints": {
"allow": [
"POST"
]
}
}
}
}
POST https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/verify
{
"stateToken": "00wlafXU2GV9I3tNvDNkOA1thqM5gDwCOgHID_-Iej"
}
HTTP/1.1 202 Accepted
{
"stateToken": "00Z20ZhXVrmyR3z8R-m77BvknHyckWCy5vNwEA6huD",
"expiresAt": "2014-11-02T23:44:41.736Z",
"status": "MFA_CHALLENGE",
"relayState": "/myapp/some/deep/link/i/want/to/return/to",
"factorResult": "WAITING",
"_embedded": {
"user": {
"id": "00ub0oNGTSWTBKOLGLNR",
"profile": {
"login": "[email protected]",
"firstName": "Isaac",
"lastName": "Brock",
"locale": "en_US",
"timeZone": "America/Los_Angeles"
}
},
"factors": {
"id": "opfh52xcuft3J4uZc0g3",
"factorType": "push",
"provider": "OKTA",
"profile": {
"platform": "IOS",
"deviceType": "SMARTPHONE",
"name": "karl iPhone",
"version": "8.1"
}
}
},
"_links": {
"next": {
"name": "poll",
"href": "https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/verify",
"hints": {
"allow": [
"POST"
]
}
},
"cancel": {
"href": "https://your-domain.okta.com/api/v1/authn/cancel",
"hints": {
"allow": [
"POST"
]
}
},
"prev": {
"href": "https://your-domain.okta.com/api/v1/authn/previous",
"hints": {
"allow": [
"POST"
]
}
},
"resend": [
{
"name": "push",
"href": "https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/verify/resend",
"hints": {
"allow": [
"POST"
]
}
}
]
}
POST https://your-domain.okta.com/api/v1/authn/factors/opfh52xcuft3J4uZc0g3/verify
{
"stateToken": "00wlafXU2GV9I3tNvDNkOA1thqM5gDwCOgHID_-Iej"
}
HTTP/1.1 200 OK
{
"expiresAt": "2014-11-03T10:15:57.000Z",
"status": "SUCCESS",
"relayState": "/myapp/some/deep/link/i/want/to/return/to",
"sessionToken": "00Fpzf4en68pCXTsMjcX8JPMctzN2Wiw4LDOBL_9pe",
"_embedded": {
"user": {
"id": "00ub0oNGTSWTBKOLGLNR",
"profile": {
"login": "[email protected]",
"firstName": "Isaac",
"lastName": "Brock",
"locale": "en_US",
"timeZone": "America/Los_Angeles"
}
}
}
}
POST {{url}}/api/v1/users/{{userId}}/factors
{
"factorType": "push",
"provider": "OKTA"
}
{
"id": "opfh52xcuft3J4uZc0g3",
"factorType": "push",
"provider": "OKTA",
"status": "PENDING_ACTIVATION",
"created": "2015-04-01T15:57:32.000Z",
"lastUpdated": "2015-04-01T15:57:32.000Z",
"profile": {
},
"_links": {
"poll": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/lifecycle/activate",
"hints": {
"allow": [
"POST"
]
}
},
"self": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3",
"hints": {
"allow": [
"GET"
]
}
},
"user": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3",
"hints": {
"allow": [
"GET"
]
}
}
},
"_embedded": {
"activation": {
"expiresAt": "2015-04-01T15:57:32.000Z",
"_links": {
"qrcode": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/qr/00fukNElRS_Tz6k-CFhg3pH4KO2dj2guhmaapXWbc4",
"type": "image/png"
},
"send": [
{
"name": "email",
"href": "https://your-domain.okta.com/api/v1/users/00u15s1KDETTQMQYABRL/factors/mbl1nz9JHJGHWRKMTLHP/lifecycle/activate/email",
"hints": {
"allow": [
"POST"
]
}
},
{
"name": "sms",
"href": "https://your-domain.okta.com/api/v1/users/00u15s1KDETTQMQYABRL/factors/mbl1nz9JHJGHWRKMTLHP/lifecycle/activate/sms",
"hints": {
"allow": [
"POST"
]
}
}
]
}
}
}
}
POST {{url}}/api/v1/users/{{userId}}/factors/{{factorId}}/lifecycle/activate
Activation Model (same as _embedded
in factor)
HTTP/1.1 202 Accepted
{
"expiresAt": "2015-04-01T15:57:32.000Z",
"factorResult": "WAITING",
"_links": {
"poll": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/lifecycle/activate",
"hints": {
"allow": [
"POST"
]
}
},
"qrcode": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/qr/00fukNElRS_Tz6k-CFhg3pH4KO2dj2guhmaapXWbc4",
"type": "image/png"
},
"send": [
{
"name": "email",
"href": "https://your-domain.okta.com/api/v1/users/00u15s1KDETTQMQYABRL/factors/mbl1nz9JHJGHWRKMTLHP/lifecycle/activate/email",
"hints": {
"allow": [
"POST"
]
}
},
{
"name": "sms",
"href": "https://your-domain.okta.com/api/v1/users/00u15s1KDETTQMQYABRL/factors/mbl1nz9JHJGHWRKMTLHP/lifecycle/activate/sms",
"hints": {
"allow": [
"POST"
]
}
}
]
}
}
POST {{url}}/api/v1/users/{{userId}}/factors/{{factorId}}/lifecycle/activate
HTTP/1.1 200 OK
{
"id": "opfh52xcuft3J4uZc0g3",
"factorType": "push",
"provider": "OKTA",
"status": "ACTIVE",
"created": "2015-04-01T15:57:32.000Z",
"lastUpdated": "2015-04-01T16:04:56.000Z",
"profile": {
"platform": "IOS",
"deviceType": "SMARTPHONE",
"name": "karl iPhone",
"version": "8.1"
},
"_links": {
"self": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3",
"hints": {
"allow": [
"GET",
"DELETE"
]
}
},
"verify": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/verify",
"hints": {
"allow": [
"POST"
]
}
},
"user": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3",
"hints": {
"allow": [
"GET"
]
}
}
}
}
POST {{url}}/api/v1/users/{{userId}}/factors/{{factorId}}/lifecycle/activate
HTTP/1.1 200 OK
{
"factorResult": "TIMEOUT",
"_links": {
"activate": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/lifecycle/activate",
"hints": {
"allow": [
"POST"
]
}
}
}
}
POST {{url}}/api/v1/users/{{userId}}/factors/{{factorId}}/verify
HTTP/1.1 202 Accepted
Location: https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/transactions/mst1eiHghhPxf0yhp0g3/verify
{
"expiresAt": "2015-04-01T15:57:32.000Z",
"factorResult": "WAITING",
"_links": {
"poll": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/verify/mst1eiHghhPxf0yhp0g",
"hints": {
"allow": [
"GET"
]
}
},
"cancel": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/verify/mst1eiHghhPxf0yhp0g",
"hints": {
"allow": [
"DELETE"
]
}
}
}
}
GET {{url}}/api/v1/users/{{userId}}/factors/{{factorId}}/transactions/{transactionId}/verify
{
"expiresAt": "2015-04-01T15:57:32.000Z",
"factorResult": "WAITING",
"_links": {
"poll": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/verify/mst1eiHghhPxf0yhp0g",
"hints": {
"allow": [
"GET"
]
}
},
"cancel": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/verify/mst1eiHghhPxf0yhp0g",
"hints": {
"allow": [
"DELETE"
]
}
}
}
}
GET {{url}}/api/v1/users/{{userId}}/factors/{{factorId}}/transactions/{transactionId}/verify
{
"factorResult": "SUCCESS"
}
GET {{url}}/api/v1/users/{{userId}}/factors/{{factorId}}/transactions/{transactionId}/verify
{
"factorResult": "TIMEOUT",
"_links": {
"verify": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/verify",
"hints": {
"allow": [
"POST"
]
}
},
"factor": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3",
"hints": {
"allow": [
"GET",
"DELETE"
]
}
}
}
}
GET {{url}}/api/v1/users/{{userId}}/factors/{{factorId}}/transactions/{transactionId}/verify
{
"factorResult": "REJECTED",
"_links": {
"verify": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3/verify",
"hints": {
"allow": [
"POST"
]
}
},
"factor": {
"href": "https://your-domain.okta.com/api/v1/users/00ugti3kwafWJBRIY0g3/factors/opfh52xcuft3J4uZc0g3",
"hints": {
"allow": [
"GET",
"DELETE"
]
}
}
}
}