Skip to content

Commit dcb3a02

Browse files
committed
Revert "WIP - Trivial cassette hack"
This reverts commit 8a2e7e3.
1 parent aced86b commit dcb3a02

1 file changed

Lines changed: 0 additions & 99 deletions

File tree

src/integration_tests/cassettes/login.yaml

Lines changed: 0 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -48,105 +48,6 @@ interactions:
4848
</saml2p:Response></soap11:Body></soap11:Envelope>'
4949

5050

51-
headers:
52-
Cache-Control:
53-
- no-cache, no-store
54-
Connection:
55-
- keep-alive
56-
Content-Type:
57-
- text/xml;charset=UTF-8
58-
Date:
59-
- Tue, 06 Sep 2022 22:13:38 GMT
60-
Pragma:
61-
- no-cache
62-
SOAPAction:
63-
- http://www.oasis-open.org/committees/security
64-
Transfer-Encoding:
65-
- chunked
66-
status:
67-
code: 200
68-
message: ''
69-
- request:
70-
body: Action=AssumeRoleWithSAML...MORE STUFF GOES HERE
71-
headers:
72-
method: POST
73-
uri: https://sts.us-east-1.amazonaws.com/
74-
response:
75-
body:
76-
string: "<AssumeRoleWithSAMLResponse xmlns=\"https://sts.us-east-1.amazonaws.com/doc/2011-06-15/\">\n
77-
\ <AssumeRoleWithSAMLResult>\n <Audience>https://signin.aws.amazon.com/saml</Audience>\n
78-
\ <AssumedRoleUser>\n <AssumedRoleId>1234:netid@illinois.edu</AssumedRoleId>\n
79-
\ <Arn>arn:aws:sts::012345678910:assumed-role/Admin/netid@illinois.edu</Arn>\n
80-
\ </AssumedRoleUser>\n <Credentials>\n <AccessKeyId>ABCDEFGHIJKLMNOPQRST</AccessKeyId>\n
81-
\ <SecretAccessKey>SUPER DUPER SECRET KEY</SecretAccessKey>\n
82-
\ <SessionToken>BOGUS TOKEN</SessionToken>\n
83-
\ <Expiration>2222-09-06T22:28:39Z</Expiration>\n </Credentials>\n
84-
\ <Subject>netid@illinois.edu</Subject>\n <NameQualifier>STUFF</NameQualifier>\n
85-
\ <SubjectType>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</SubjectType>\n
86-
\ <Issuer>urn:mace:incommon:uiuc.edu</Issuer>\n </AssumeRoleWithSAMLResult>\n
87-
\ <ResponseMetadata>\n <RequestId>MORE STUFF</RequestId>\n
88-
\ </ResponseMetadata>\n</AssumeRoleWithSAMLResponse>\n"
89-
headers:
90-
Content-Length:
91-
- '1547'
92-
Content-Type:
93-
- text/xml
94-
Date:
95-
- Tue, 06 Sep 2022 22:13:38 GMT
96-
x-amzn-RequestId:
97-
- d0384282-c340-40a2-8f00-3ad304e4363d
98-
status:
99-
code: 200
100-
message: OK
101-
- request:
102-
body: <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion"
103-
xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol"><S:Body><saml2p:AuthnRequest
104-
AssertionConsumerServiceURL="https://signin.aws.amazon.com/saml" ID="_278585DB55B94963A63C87F526D81B57"
105-
IssueInstant="2022-09-06T22:13:37Z" ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:PAOS"
106-
Version="2.0"><saml2:Issuer>urn:amazon:webservices</saml2:Issuer></saml2p:AuthnRequest></S:Body></S:Envelope>
107-
headers:
108-
Accept:
109-
- '*/*'
110-
Accept-Encoding:
111-
- gzip, deflate
112-
Connection:
113-
- keep-alive
114-
Content-Length:
115-
- '506'
116-
Content-Type:
117-
- text/xml
118-
User-Agent:
119-
- python-requests/2.28.1
120-
charset:
121-
- utf-8
122-
method: POST
123-
uri: https://shibboleth.illinois.edu/idp/profile/SAML2/SOAP/ECP
124-
response:
125-
body:
126-
string: '<?xml version="1.0" encoding="UTF-8"?>
127-
<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/">
128-
<soap11:Body><saml2p:Response xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol">
129-
<saml2p:Status><saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/></saml2p:Status>
130-
131-
<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion"><saml2:AttributeStatement>
132-
133-
<saml2:Attribute
134-
FriendlyName="Role" Name="https://aws.amazon.com/SAML/Attributes/Role" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
135-
136-
<saml2:AttributeValue
137-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">arn:aws:iam::123456789010:saml-provider/shibboleth.illinois.edu,arn:aws:iam::123456789010:role/Team</saml2:AttributeValue>
138-
139-
<saml2:AttributeValue
140-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">arn:aws:iam::987654321098:saml-provider/shibboleth.illinois.edu,arn:aws:iam::987654321098:role/Admins</saml2:AttributeValue>
141-
142-
</saml2:Attribute>
143-
144-
145-
</saml2:AttributeStatement></saml2:Assertion>
146-
147-
</saml2p:Response></soap11:Body></soap11:Envelope>'
148-
149-
15051
headers:
15152
Cache-Control:
15253
- no-cache, no-store

0 commit comments

Comments
 (0)