1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
|
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
Connection:
- keep-alive
User-Agent:
- tests/v311
method: GET
uri: http://localhost:3000/.well-known/oauth-authorization-server
response:
body:
string: '{"issuer":"http://localhost:3000/","authorization_endpoint":"http://localhost:3000/oauth/authorize","token_endpoint":"http://localhost:3000/oauth/token","revocation_endpoint":"http://localhost:3000/oauth/revoke","userinfo_endpoint":"http://localhost:3000/oauth/userinfo","scopes_supported":["read","profile","write","write:accounts","write:blocks","write:bookmarks","write:conversations","write:favourites","write:filters","write:follows","write:lists","write:media","write:mutes","write:notifications","write:reports","write:statuses","read:accounts","read:blocks","read:bookmarks","read:favourites","read:filters","read:follows","read:lists","read:mutes","read:notifications","read:search","read:statuses","follow","push","admin:read","admin:read:accounts","admin:read:reports","admin:read:domain_allows","admin:read:domain_blocks","admin:read:ip_blocks","admin:read:email_domain_blocks","admin:read:canonical_email_blocks","admin:write","admin:write:accounts","admin:write:reports","admin:write:domain_allows","admin:write:domain_blocks","admin:write:ip_blocks","admin:write:email_domain_blocks","admin:write:canonical_email_blocks"],"response_types_supported":["code"],"response_modes_supported":["query","fragment","form_post"],"grant_types_supported":["authorization_code","client_credentials"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"],"code_challenge_methods_supported":["S256"],"service_documentation":"https://docs.joinmastodon.org/","app_registration_endpoint":"http://localhost:3000/api/v1/apps"}'
headers:
Content-Length:
- '1551'
cache-control:
- max-age=0, private, must-revalidate
content-security-policy:
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
''self'' http://localhost:3000; img-src ''self'' data: blob: http://localhost:3000;
media-src ''self'' data: http://localhost:3000; manifest-src ''self'' http://localhost:3000;
form-action ''self''; child-src ''self'' blob: http://localhost:3000; worker-src
''self'' blob: http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000
ws://localhost:4000 ws://localhost:3036 http://localhost:3036; script-src
''self'' ''unsafe-inline'' ''unsafe-eval'' http://localhost:3000; frame-src
''self'' https: http:; style-src ''self'' http://localhost:3000 ''unsafe-inline''
''nonce-MwZYtCmadeuqWN1j7nC1Uw=='''
content-type:
- application/json; charset=utf-8
etag:
- W/"404fce6b59bef4889291b3ed7a6c1de3"
referrer-policy:
- strict-origin-when-cross-origin
server-timing:
- cache_read.active_support;dur=0.05, sql.active_record;dur=1.04, cache_generate.active_support;dur=1.60,
cache_write.active_support;dur=0.25, start_processing.action_controller;dur=0.00,
render.active_model_serializers;dur=8.61, process_action.action_controller;dur=36.83
vary:
- Origin
x-content-type-options:
- nosniff
x-frame-options:
- SAMEORIGIN
x-permitted-cross-domain-policies:
- none
x-request-id:
- fcd97f0a-5fc1-49ae-9dcc-cf56a0e9e9b2
x-runtime:
- '0.070216'
x-xss-protection:
- '0'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
Connection:
- keep-alive
User-Agent:
- tests/v311
method: GET
uri: http://localhost:3000/.well-known/oauth-authorization-server
response:
body:
string: '{"issuer":"http://localhost:3000/","authorization_endpoint":"http://localhost:3000/oauth/authorize","token_endpoint":"http://localhost:3000/oauth/token","revocation_endpoint":"http://localhost:3000/oauth/revoke","userinfo_endpoint":"http://localhost:3000/oauth/userinfo","scopes_supported":["read","profile","write","write:accounts","write:blocks","write:bookmarks","write:conversations","write:favourites","write:filters","write:follows","write:lists","write:media","write:mutes","write:notifications","write:reports","write:statuses","read:accounts","read:blocks","read:bookmarks","read:favourites","read:filters","read:follows","read:lists","read:mutes","read:notifications","read:search","read:statuses","follow","push","admin:read","admin:read:accounts","admin:read:reports","admin:read:domain_allows","admin:read:domain_blocks","admin:read:ip_blocks","admin:read:email_domain_blocks","admin:read:canonical_email_blocks","admin:write","admin:write:accounts","admin:write:reports","admin:write:domain_allows","admin:write:domain_blocks","admin:write:ip_blocks","admin:write:email_domain_blocks","admin:write:canonical_email_blocks"],"response_types_supported":["code"],"response_modes_supported":["query","fragment","form_post"],"grant_types_supported":["authorization_code","client_credentials"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"],"code_challenge_methods_supported":["S256"],"service_documentation":"https://docs.joinmastodon.org/","app_registration_endpoint":"http://localhost:3000/api/v1/apps"}'
headers:
Content-Length:
- '1551'
cache-control:
- max-age=0, private, must-revalidate
content-security-policy:
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
''self'' http://localhost:3000; img-src ''self'' data: blob: http://localhost:3000;
media-src ''self'' data: http://localhost:3000; manifest-src ''self'' http://localhost:3000;
form-action ''self''; child-src ''self'' blob: http://localhost:3000; worker-src
''self'' blob: http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000
ws://localhost:4000 ws://localhost:3036 http://localhost:3036; script-src
''self'' ''unsafe-inline'' ''unsafe-eval'' http://localhost:3000; frame-src
''self'' https: http:; style-src ''self'' http://localhost:3000 ''unsafe-inline''
''nonce-BWNPGUJ60JeO5zNhS1BSpg=='''
content-type:
- application/json; charset=utf-8
etag:
- W/"404fce6b59bef4889291b3ed7a6c1de3"
referrer-policy:
- strict-origin-when-cross-origin
server-timing:
- cache_read.active_support;dur=0.09, sql.active_record;dur=1.07, cache_generate.active_support;dur=1.05,
cache_write.active_support;dur=0.13, start_processing.action_controller;dur=0.01,
render.active_model_serializers;dur=3.71, process_action.action_controller;dur=27.90
vary:
- Origin
x-content-type-options:
- nosniff
x-frame-options:
- SAMEORIGIN
x-permitted-cross-domain-policies:
- none
x-request-id:
- c7d1b1a6-57b6-4f27-917f-08a5c963ca3d
x-runtime:
- '0.047830'
x-xss-protection:
- '0'
status:
code: 200
message: OK
version: 1
|