test/vcr/cassettes/member_authenticate/success.yml in access-2.2.0 vs test/vcr/cassettes/member_authenticate/success.yml in access-2.3.0.pre.rc1
- old
+ new
@@ -13,15 +13,23 @@
- application/json
Accept:
- application/json
response:
status:
- code: 200
- message: OK
+ code: 401
+ message: ''
headers:
- Server:
- - Apache-Coyote/1.1
+ Date:
+ - Thu, 28 Jun 2018 16:27:40 GMT
+ Content-Type:
+ - application/json;charset=UTF-8
+ Transfer-Encoding:
+ - chunked
+ Connection:
+ - keep-alive
+ X-Application-Context:
+ - application:stage
X-Content-Type-Options:
- nosniff
X-Xss-Protection:
- 1; mode=block
Cache-Control:
@@ -30,23 +38,72 @@
- no-cache
Expires:
- '0'
X-Frame-Options:
- DENY
- X-Application-Context:
- - application:main,stage:10110
+ body:
+ encoding: UTF-8
+ string: '{"message":"No active user with specified credentials found.","status":401,"error_code":"AUTHENTICATION_FAILURE_PASSWORD_MISMATCH"}'
+ http_version:
+ recorded_at: Thu, 28 Jun 2018 16:27:40 GMT
+- request:
+ method: post
+ uri: https://mms-stage.adcrws.com/v1/auth
+ body:
+ encoding: UTF-8
+ string: '{"email":"cs@test.com","password":"password"}'
+ headers:
+ Access-Token:
+ - "<ACCESS_TOKEN>"
Content-Type:
+ - application/json
+ Accept:
+ - application/json
+ response:
+ status:
+ code: 200
+ message: ''
+ headers:
+ Date:
+ - Sun, 01 Jul 2018 04:23:26 GMT
+ Content-Type:
- application/json;charset=UTF-8
Transfer-Encoding:
- chunked
- Date:
- - Mon, 22 Feb 2016 23:05:58 GMT
+ Connection:
+ - keep-alive
+ X-Application-Context:
+ - application:stage
+ X-Content-Type-Options:
+ - nosniff
+ X-Xss-Protection:
+ - 1; mode=block
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Pragma:
+ - no-cache
+ Expires:
+ - '0'
+ X-Frame-Options:
+ - DENY
body:
encoding: UTF-8
- string: '{"users":[{"program_id":2412,"program_key":"TYP123","program_name":"Access
+ string: '{"users":[{"program_id":309986394,"program_key":"200614","program_name":"Access
+ Employee","organization_id":160,"organization_key":"160","organization_name":"Access
+ Development","member_id":101383166,"member_key":"4","email":"cs@test.com","first_name":"cody","last_name":"stringham","reg_id":2178237,"cvt":"90b6ad1194beab92dfb6e610d9922778b59364fd","postal_code":null,"roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true,"points_balance":0},{"program_id":2412,"program_key":"TYP123","program_name":"Access
Perks Demo","organization_id":2000896,"organization_key":"TYPDEMO","organization_name":"Access
- Perks Demo","member_id":89665693,"member_key":"226865","email":"ben@test.com","first_name":"Ben","last_name":"Eggett","reg_id":1077263,"cvt":"5d7c9927d4cc1720e1fff4681a3dc6e51c9145dd","postal_code":"84010","roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true}],"members":[{"organization":{"organization_id":2000896,"organization_key":"TYPDEMO","name":"Access
+ Perks Demo","member_id":101382957,"member_key":"227889","email":"cs@test.com","first_name":"CS","last_name":"TEST","reg_id":2177943,"cvt":"e149dd86dee406a0075531ad558ec73b7c4f1d03","postal_code":"84101","roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true,"points_balance":0},{"program_id":236131719,"program_key":"102110","program_name":"Extended
+ Perks","organization_id":2001908,"organization_key":"2001908","organization_name":"Extended
+ Stay America","member_id":95698990,"member_key":"222aaan","email":"cs@test.com","first_name":"Cody","last_name":"Stringham","reg_id":1571046,"cvt":"0364de5ac20714be939026c5a0e602b6e996f408","postal_code":"84101","roles":["SECURE"],"program_provisioning_method":"RBI_MCID","user_has_password":true,"points_balance":0},{"program_id":280894368,"program_key":"200296","program_name":"RWS
+ API - SHARED_SECRET","organization_id":160,"organization_key":"160","organization_name":"Access
+ Development","member_id":93251241,"member_key":"1","email":"cs@test.com","first_name":"Cody","last_name":"Stringham","reg_id":1293466,"cvt":"161867b85f30ec1060db94c744a190de8bbe031d","postal_code":"84047","roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true,"points_balance":0}],"members":[{"organization":{"organization_id":160,"organization_key":"160","name":"Access
+ Development"},"program":{"program_id":309986394,"program_key":"200614","name":"Access
+ Employee","provisioning_method":"SHARED_SECRET","travel":{"enabled":true,"provider":{"name":"ACCESS_TRAVEL_PLATFORM","points_enabled":false}}},"member":{"member_id":101383166,"member_key":"4","email":"cs@test.com","first_name":"cody","last_name":"stringham","cvt":"90b6ad1194beab92dfb6e610d9922778b59364fd","postal_code":null,"points_balance":0},"user":{"email":"cs@test.com","first_name":"cody","last_name":"stringham","reg_id":2178237,"roles":[],"has_password":true,"password_expired":false,"user_id":308721251,"account_enabled":true,"account_locked":false,"account_validated":true}},{"organization":{"organization_id":2000896,"organization_key":"TYPDEMO","name":"Access
Perks Demo"},"program":{"program_id":2412,"program_key":"TYP123","name":"Access
- Perks Demo","provisioning_method":"SHARED_SECRET"},"member":{"member_id":89665693,"member_key":"226865","email":"ben@test.com","first_name":"Ben","last_name":"Eggett","cvt":"5d7c9927d4cc1720e1fff4681a3dc6e51c9145dd","postal_code":"84010"},"user":{"email":"ben@test.com","first_name":"Ben","last_name":"Eggett","reg_id":1077263,"roles":[],"has_password":true,"password_expired":false}}]}'
+ Perks Demo","provisioning_method":"SHARED_SECRET","travel":{"enabled":true,"provider":{"name":"ACCESS_TRAVEL_PLATFORM","points_enabled":false}}},"member":{"member_id":101382957,"member_key":"227889","email":"cs@test.com","first_name":"CS","last_name":"TEST","cvt":"e149dd86dee406a0075531ad558ec73b7c4f1d03","postal_code":"84101","points_balance":0},"user":{"email":"cs@test.com","first_name":"CS","last_name":"TEST","reg_id":2177943,"roles":[],"has_password":true,"password_expired":false,"user_id":308718268,"account_enabled":true,"account_locked":false,"account_validated":true}},{"organization":{"organization_id":2001908,"organization_key":"2001908","name":"Extended
+ Stay America"},"program":{"program_id":236131719,"program_key":"102110","name":"Extended
+ Perks","provisioning_method":"RBI_MCID","travel":{"enabled":false,"provider":null}},"member":{"member_id":95698990,"member_key":"222aaan","email":"cs@test.com","first_name":"Cody","last_name":"Stringham","cvt":"0364de5ac20714be939026c5a0e602b6e996f408","postal_code":"84101","points_balance":0},"user":{"email":"cs@test.com","first_name":"Cody","last_name":"Stringham","reg_id":1571046,"roles":["SECURE"],"has_password":true,"password_expired":false,"user_id":290532490,"account_enabled":true,"account_locked":false,"account_validated":true}},{"organization":{"organization_id":160,"organization_key":"160","name":"Access
+ Development"},"program":{"program_id":280894368,"program_key":"200296","name":"RWS
+ API - SHARED_SECRET","provisioning_method":"SHARED_SECRET","travel":{"enabled":false,"provider":null}},"member":{"member_id":93251241,"member_key":"1","email":"cs@test.com","first_name":"Cody","last_name":"Stringham","cvt":"161867b85f30ec1060db94c744a190de8bbe031d","postal_code":"84047","points_balance":0},"user":{"email":"cs@test.com","first_name":"Cody","last_name":"Stringham","reg_id":1293466,"roles":[],"has_password":true,"password_expired":false,"user_id":280895420,"account_enabled":true,"account_locked":false,"account_validated":true}}]}'
http_version:
- recorded_at: Mon, 22 Feb 2016 23:06:00 GMT
-recorded_with: VCR 3.0.1
+ recorded_at: Sun, 01 Jul 2018 04:23:26 GMT
+recorded_with: VCR 4.0.0