<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: OpenID Connect login based group membership with AWS Cognito in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/openid-connect-login-based-group-membership-with/m-p/1582695#M63536</link>
    <description>&lt;P&gt;Just updating that on our side, we've gotten a bug and an enhancement logged for this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;BUG-000174090-Integrate OpenID groups when using AWS Cognito for Portal for ArcGIS&lt;/LI&gt;&lt;LI&gt;ENH-000169368-Provide Documentation for Configuring OpenID via API&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 06 Feb 2025 15:31:29 GMT</pubDate>
    <dc:creator>MargaretWoo</dc:creator>
    <dc:date>2025-02-06T15:31:29Z</dc:date>
    <item>
      <title>OpenID Connect login based group membership with AWS Cognito</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/openid-connect-login-based-group-membership-with/m-p/1540709#M61596</link>
      <description>&lt;P&gt;Does anybody have group membership working with a Cognito login? I have set up the oidc login and it works fine, but it wont automatically add my user to a group.&lt;/P&gt;&lt;P&gt;I've set up the group&amp;nbsp;&lt;SPAN&gt;whose membership is controlled by being a member of an OpenID Connect group, and the group name is the same as my group in Cognito.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's the groups claim value from the Cognito token:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'cognito:groups': [ 'test_group' ],&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My group in AGOL is called test_group&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any help would be much appreciated!&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Sep 2024 23:41:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/openid-connect-login-based-group-membership-with/m-p/1540709#M61596</guid>
      <dc:creator>SiCasley</dc:creator>
      <dc:date>2024-09-19T23:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: OpenID Connect login based group membership with AWS Cognito</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/openid-connect-login-based-group-membership-with/m-p/1571946#M62966</link>
      <description>&lt;P&gt;We are also trying to get this working (on Enterprise Portal v11.4).&amp;nbsp;&lt;/P&gt;&lt;P&gt;In AWS, we followed the general guidance (using a lambda) to modify the access token claims so that it looks like `"groups": ["test_group"]`. See&amp;nbsp;&lt;A href="https://aws.amazon.com/blogs/mobile/how-to-use-cognito-pre-token-generators-to-customize-claims-in-id-tokens/" target="_blank"&gt;https://aws.amazon.com/blogs/mobile/how-to-use-cognito-pre-token-generators-to-customize-claims-in-id-tokens/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I wonder if there is an ESRI Blog article somewhere that has an example where this works with any OIDC IdP&lt;/STRONG&gt;. What does the JWT token look like when it works? Is it using the access_token? or the id_token? What is the attribute name, and is it namespaced?&lt;/P&gt;&lt;P&gt;AWS doesn't allow you to use "groups" as one of its scopes. By any chance, is the portal expecting the scopes attribute in the token to include this?&lt;/P&gt;&lt;P&gt;We also eliminated the possibility that user permissions are an issue by testing this with a user with Administrator role.&lt;/P&gt;&lt;P&gt;In short, I wish this was open source so I could look at the code and answer my own questions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any attention!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 20:56:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/openid-connect-login-based-group-membership-with/m-p/1571946#M62966</guid>
      <dc:creator>MargaretWoo</dc:creator>
      <dc:date>2024-12-31T20:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: OpenID Connect login based group membership with AWS Cognito</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/openid-connect-login-based-group-membership-with/m-p/1572180#M62981</link>
      <description>&lt;P&gt;I think it's using the id_token (but I can't say for sure!). Working with tech support we've been able to get a bug logged for this: "&lt;SPAN&gt;BUG-000172874 -&amp;nbsp;Enable OpenID Connect login-based group membership does not work when single sign-on is configured with Amazon Cognito as the IdP", so hopefully it'll get fixed in the near future.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 17:47:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/openid-connect-login-based-group-membership-with/m-p/1572180#M62981</guid>
      <dc:creator>SiCasley</dc:creator>
      <dc:date>2025-01-02T17:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: OpenID Connect login based group membership with AWS Cognito</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/openid-connect-login-based-group-membership-with/m-p/1582695#M63536</link>
      <description>&lt;P&gt;Just updating that on our side, we've gotten a bug and an enhancement logged for this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;BUG-000174090-Integrate OpenID groups when using AWS Cognito for Portal for ArcGIS&lt;/LI&gt;&lt;LI&gt;ENH-000169368-Provide Documentation for Configuring OpenID via API&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 06 Feb 2025 15:31:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/openid-connect-login-based-group-membership-with/m-p/1582695#M63536</guid>
      <dc:creator>MargaretWoo</dc:creator>
      <dc:date>2025-02-06T15:31:29Z</dc:date>
    </item>
  </channel>
</rss>

