Sha256: 509109d8ef232700e9a5e33ccf178f1b0e572eb1154cc88ba52d5f25b8e4b465

Contents?: true

Size: 1.99 KB

Versions: 6

Compression:

Stored size: 1.99 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: SSO_HOST/api/v1/admin_users/verify_otp
    body:
      encoding: UTF-8
      string: '{"nonce":"remitano-1","admin_user_email":"admin@example.com","token":"fake_token"}'
    headers:
      Content-Type:
      - application/json
      Authorization:
      - 6635f391c2d25297578ba22fa22fa24c49337b4f8710f7de44a8295d3cd4cac7ea590570eb2f163ff63af01d7b96083f71404f431a196fe06574f59bb49fe7ce
      Appname:
      - remitano
  response:
    status:
      code: 403
      message: Forbidden
    headers:
      Content-Type:
      - application/json
      Content-Length:
      - '25'
      Cache-Control:
      - no-cache
      X-Request-Id:
      - f4f25276-2d0d-43f2-bc5b-ad7358006e15
      X-Runtime:
      - '0.014641'
      Connection:
      - keep-alive
      Server:
      - thin
    body:
      encoding: ASCII-8BIT
      string: '{"error":"Invalid token"}'
    http_version: 
  recorded_at: Fri, 24 Apr 2020 09:19:27 GMT
- request:
    method: post
    uri: SSO_HOST/api/v1/admin_users/verify_otp
    body:
      encoding: UTF-8
      string: '{"nonce":"remitano-2","admin_user_email":"admin@example.com","token":"345385"}'
    headers:
      Content-Type:
      - application/json
      Authorization:
      - 878664ab60548e3c90de2ebd490fd23b5757036212849afb41afd54db6137a26f61683f67757b158eb91d23198ee3f1ab28777030ec3aaa1dbb22287278e73c3
      Appname:
      - remitano
  response:
    status:
      code: 201
      message: Created
    headers:
      Content-Type:
      - application/json
      Content-Length:
      - '16'
      Etag:
      - W/"7363e85fe9edee6f053a4b319588c086"
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - c3a71ed6-eaea-45aa-9a5a-cfea9c5b4b04
      X-Runtime:
      - '0.065036'
      Connection:
      - keep-alive
      Server:
      - thin
    body:
      encoding: ASCII-8BIT
      string: '{"success":true}'
    http_version: 
  recorded_at: Fri, 24 Apr 2020 09:19:27 GMT
recorded_with: VCR 2.6.0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
portal-connectors-0.58.39xc spec/fixtures/vcr_cassettes/PortalConnectors_SsoClient/_verify_otp/returns_result_of_otp_verification.yml
portal-connectors-0.58.39xb spec/fixtures/vcr_cassettes/PortalConnectors_SsoClient/_verify_otp/returns_result_of_otp_verification.yml
portal-connectors-0.58.39xa spec/fixtures/vcr_cassettes/PortalConnectors_SsoClient/_verify_otp/returns_result_of_otp_verification.yml
portal-connectors-0.58.39fj spec/fixtures/vcr_cassettes/PortalConnectors_SsoClient/_verify_otp/returns_result_of_otp_verification.yml
portal-connectors-0.58.39fg spec/fixtures/vcr_cassettes/PortalConnectors_SsoClient/_verify_otp/returns_result_of_otp_verification.yml
portal-connectors-0.58.38xn spec/fixtures/vcr_cassettes/PortalConnectors_SsoClient/_verify_otp/returns_result_of_otp_verification.yml