<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">If your IdP supports ECP, you might want to check out the AWSCLI-login authentication module for the AWS CLI. It works with IdP version 4, and it doesn’t involve screen scraping a form which is never pretty.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">https://github.com/techservicesillinois/awscli-login<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Keith<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt">From:</span></b><span style="font-size:11.0pt"> users <users-bounces@shibboleth.net>
<b>On Behalf Of </b>Mailvaganam, Hari<br>
<b>Sent:</b> Wednesday, February 17, 2021 8:53 AM<br>
<b>To:</b> Shib Users <users@shibboleth.net><br>
<b>Subject:</b> Re: saml2aws -- IDPV4<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt">FYI – confirmed – csrf.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span lang="EN-CA" style="color:black">From:
</span></b><span lang="EN-CA" style="color:black">users <users-bounces@shibboleth.net> on behalf of "Mailvaganam, Hari" <hari.mailvaganam@ubc.ca><br>
<b>Reply-To: </b>Shib Users <users@shibboleth.net><br>
<b>Date: </b>Tuesday, February 16, 2021 at 8:14 PM<br>
<b>To: </b>Shib Users <users@shibboleth.net><br>
<b>Subject: </b>saml2aws -- IDPV4<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:.5in;border-collapse:collapse">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt 0in">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black;background:#FFECB3">[<strong><span style="font-family:"Arial",sans-serif">CAUTION:</span></strong> Non-UBC Email]</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">Hi:</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt"> </span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">Has anyone had opportunity w.r.t saml2aws working with IDPV4.0.1?</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt"> </span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt"><a href="https://urldefense.com/v3/__https:/github.com/Versent/saml2aws/blob/master/pkg/provider/shibboleth/README.md__;!!DZ3fjg!s6y3ABTWyeVLBuRLdCKjAzjpZryfUQ0sa3tKWNhwzdbhSF5tRR9CspXjmUNQJ7HvFg$">https://github.com/Versent/saml2aws/blob/master/pkg/provider/shibboleth/README.md</a>
  - from link tested with IDP v3.3, however can’t quite make out why not working with v4.0.1 (shot in the dark – csrf?)</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt"> </span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">Rreceiving message below ‘missing Assertion element. Issue only with saml2aws – the AWS console via SAML fine. No other changes made.</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt"> </span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt"> </span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">missing Assertion element</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">error parsing aws roles</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">github.com/versent/saml2aws/v2/cmd/saml2aws/commands.selectAwsRole</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">                /Users/markw/Code/notgopath/saml2aws/cmd/saml2aws/commands/login.go:190</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">github.com/versent/saml2aws/v2/cmd/saml2aws/commands.Login</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">                /Users/markw/Code/notgopath/saml2aws/cmd/saml2aws/commands/login.go:90</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">main.main</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">                /Users/markw/Code/notgopath/saml2aws/cmd/saml2aws/main.go:163</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">runtime.main</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">                /usr/local/Cellar/go/1.15.1/libexec/src/runtime/proc.go:204</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">runtime.goexit</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">                /usr/local/Cellar/go/1.15.1/libexec/src/runtime/asm_amd64.s:1374</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">Failed to assume role, please check whether you are permitted to assume the given role for the AWS service</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">github.com/versent/saml2aws/v2/cmd/saml2aws/commands.Login</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">                /Users/markw/Code/notgopath/saml2aws/cmd/saml2aws/commands/login.go:92</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">main.main</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">                /Users/markw/Code/notgopath/saml2aws/cmd/saml2aws/main.go:163</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">runtime.main</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">                /usr/local/Cellar/go/1.15.1/libexec/src/runtime/proc.go:204</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">runtime.goexit</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt">                /usr/local/Cellar/go/1.15.1/libexec/src/runtime/asm_amd64.s:1374</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:11.0pt"> </span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#002145">Best regards,</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"> </span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#002145">Hari Mailvaganam</span></b><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#002145"> <br>
Access Application Architect, Identity & Access Management (IAM)</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#002145">Cybersecurity | CISO Office</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#002145">The University of British Columbia | Musqueam Traditional Territory<br>
420 - 6356 Agricultural Road | Vancouver BC | V6T1Z2 Canada<br>
Phone 604 827 5117</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Privacy Matters @ UBC</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"> </span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#FFC000">Upcoming Scheduled Out of Office:</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#FFC000">-22<sup>nd</sup> March, 2021 – 26<sup>th</sup> March, 2021</span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#FFC000">-09<sup>th</sup> August, 2021 – 20<sup>th</sup> August, 2021</span><span lang="EN-CA"><o:p></o:p></span></p>
</div>
</body>
</html>