<?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 OpenID Connect Cognito group scope configuration (OIDC) in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/openid-connect-cognito-group-scope-configuration/m-p/1623769#M65090</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We’ve enabled OpenID Connect (OIDC) logins in AGOL and can successfully authenticate users and create accounts with the scopes below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeonBowers2_0-1750057748571.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/134387iDB4E38470B7CD859/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeonBowers2_0-1750057748571.png" alt="LeonBowers2_0-1750057748571.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;We want to enable AGOL group membership&lt;/STRONG&gt; based upon OIDC groups but can’t get the scopes correct. This is what is being returned from Cognito for a test user:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "groups":&amp;nbsp;[&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "corporate_user",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "projects_user-aswa"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ],&lt;/P&gt;&lt;P&gt;When updating the provider scopes to include groups, our login using OIDC breaks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeonBowers2_1-1750057748572.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/134390i1DDFCE4C4D29B26A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeonBowers2_1-1750057748572.png" alt="LeonBowers2_1-1750057748572.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Results in:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeonBowers2_2-1750057748573.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/134389iB6F49B6FD5259567/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeonBowers2_2-1750057748573.png" alt="LeonBowers2_2-1750057748573.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I’ve tried many different values for the scope including groups[] and variations of it, but can’t get it correct.&lt;/P&gt;&lt;P&gt;Any idea what the scope syntax in AGOL should be or should we change the groups JSON format in Cognito to something different?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leon.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jun 2025 07:15:18 GMT</pubDate>
    <dc:creator>LeonBowers2</dc:creator>
    <dc:date>2025-06-16T07:15:18Z</dc:date>
    <item>
      <title>OpenID Connect Cognito group scope configuration (OIDC)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/openid-connect-cognito-group-scope-configuration/m-p/1623769#M65090</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We’ve enabled OpenID Connect (OIDC) logins in AGOL and can successfully authenticate users and create accounts with the scopes below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeonBowers2_0-1750057748571.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/134387iDB4E38470B7CD859/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeonBowers2_0-1750057748571.png" alt="LeonBowers2_0-1750057748571.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;We want to enable AGOL group membership&lt;/STRONG&gt; based upon OIDC groups but can’t get the scopes correct. This is what is being returned from Cognito for a test user:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "groups":&amp;nbsp;[&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "corporate_user",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "projects_user-aswa"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ],&lt;/P&gt;&lt;P&gt;When updating the provider scopes to include groups, our login using OIDC breaks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeonBowers2_1-1750057748572.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/134390i1DDFCE4C4D29B26A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeonBowers2_1-1750057748572.png" alt="LeonBowers2_1-1750057748572.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Results in:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeonBowers2_2-1750057748573.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/134389iB6F49B6FD5259567/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeonBowers2_2-1750057748573.png" alt="LeonBowers2_2-1750057748573.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I’ve tried many different values for the scope including groups[] and variations of it, but can’t get it correct.&lt;/P&gt;&lt;P&gt;Any idea what the scope syntax in AGOL should be or should we change the groups JSON format in Cognito to something different?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leon.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 07:15:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/openid-connect-cognito-group-scope-configuration/m-p/1623769#M65090</guid>
      <dc:creator>LeonBowers2</dc:creator>
      <dc:date>2025-06-16T07:15:18Z</dc:date>
    </item>
  </channel>
</rss>

