<?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: How to launch login straight to external OAuth identity provider in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713616#M66313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3063"&gt;Kelly Gerrow&lt;/A&gt;‌, any thought about this request ?&lt;/P&gt;&lt;P&gt;I created an Idea but did not get any feedback so I was wondering if I missed anything ?&lt;/P&gt;&lt;P&gt;I believe this is something that would ask many organization but maybe I am mistaken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2019 11:50:59 GMT</pubDate>
    <dc:creator>NicolasGIS</dc:creator>
    <dc:date>2019-08-09T11:50:59Z</dc:date>
    <item>
      <title>How to launch login straight to external OAuth identity provider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713608#M66305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This question relates to using OAuth with ArcGIS Online.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard workflow using OAuth as I understand it is:&lt;/P&gt;&lt;UL style="margin-top: 0cm;"&gt;&lt;LI&gt;Attempt to hit the AGOL url&amp;nbsp; (e.g.&amp;nbsp; &lt;A href="https://myagol.maps.arcgis.com/sharing/rest/oauth2/authorize?client_id=12345678912&amp;amp;response_type=code&amp;amp;redirect_uri=urn:ietf:wg:oauth:2.0:oob"&gt;https://myagol.maps.arcgis.com/sharing/rest/oauth2/authorize?client_id=12345678912&amp;amp;response_type=code&amp;amp;redirect_uri=urn:ietf:wg:oauth:2.0:oob&lt;/A&gt; ).&lt;/LI&gt;&lt;LI&gt;AGOL will display a page with a button to click – click this and it redirects you off to the external identity provider for authentication and displays an external login page.&lt;/LI&gt;&lt;LI&gt;Enter username and password and click login.&lt;/LI&gt;&lt;LI&gt;Login occurs and user is redirected back with a OAuth refresh token etc.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, how do you skip the first step? I want an application to jump straight to displaying the external login page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't seem to figure out how to trigger the OAuth workflow without the user first seeing the AGOL page and manually clicking the button to launch the external login page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;-Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 04:00:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713608#M66305</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-06-21T04:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch login straight to external OAuth identity provider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713609#M66306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you looking to use an oAuth login with Enterprise logins in ArcGIS Online or built-in ArcGIS Online usernames?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/documentation/core-concepts/security-and-authentication/" title="https://developers.arcgis.com/documentation/core-concepts/security-and-authentication/"&gt;ArcGIS Security and Authentication | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is for a custom application, which API or SDK are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-KElly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 22:03:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713609#M66306</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2018-06-21T22:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch login straight to external OAuth identity provider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713610#M66307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using enterprise logins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using JavaScript api for web development and AppStudio (Qt SDK) for mobile development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 22:22:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713610#M66307</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-06-21T22:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch login straight to external OAuth identity provider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713611#M66308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out this OAuth sample we have in the JSAPI SDK.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/identity-oauth-basic/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/identity-oauth-basic/index.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Access ArcGIS Online items using OAuthentication | ArcGIS API for JavaScript 4.7&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is as soon as the application starts do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;esriId&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;checkSignInStatus&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;info&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;portalUrl &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"/sharing"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;then&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; esriId&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getCredential&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;info&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;portalUrl &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"/sharing"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;catch&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="comment token"&gt;/*give user an option to sign in*/&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's also a DevLab that is very similar.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/labs/javascript/access-private-layers/index.html" title="https://developers.arcgis.com/labs/javascript/access-private-layers/index.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Access private layers | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases they do the above on a link click, but you can skip that and do it immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details, you can check out the doc for IdentityManager&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-identity-IdentityManager.html#methods-summary" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-identity-IdentityManager.html#methods-summary" rel="nofollow noopener noreferrer" target="_blank"&gt;IdentityManager | API Reference | ArcGIS API for JavaScript 4.7&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and Portal&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Portal | API Reference | ArcGIS API for JavaScript 4.7&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 06:34:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713611#M66308</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-12-12T06:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch login straight to external OAuth identity provider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713612#M66309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. I took a look at that sample, but it demonstrates exactly what I'm trying to avoid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that sample, you click the 'Sign In' link, then a page pops up asking the user to grant permission for the app to access their account. It is this page that I am trying to skip, and go directly to the external enterprise login page. There is no other option for the user other than granting permission and so I want to avoid this page altogether.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realise that the asking to grant permission is part of the standard OAuth authorization workflow, so I'm looking for an alternative workflow that still ends up with us having an OAuth refresh token and access token that we can pass to the appropriate Identity Manager in the SDKs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anything, I suspect it might be something to do with using a different grant type, but this is what I'm not sure about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further tips?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;-Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 13:50:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713612#M66309</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-06-27T13:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch login straight to external OAuth identity provider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713613#M66310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The links below might help. What I'm trying to achieve is probably what's described in those articles as 'Identity Provider Initiated Logins'. If anyone can provide more information on how to set up this workflow please let me know. The documentation talks about setting up federation between ArcGIS Online and certain IDP, but don't go into any particular detail about how to initiate an identity provider login, everything seems to relate to SP initiated logins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://proceedings.esri.com/library/userconf/proc16/tech-workshops/tw_314-220.pdf" title="http://proceedings.esri.com/library/userconf/proc16/tech-workshops/tw_314-220.pdf"&gt;http://proceedings.esri.com/library/userconf/proc16/tech-workshops/tw_314-220.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://doc.arcgis.com/en/arcgis-online/administer/enterprise-logins.htm" title="https://doc.arcgis.com/en/arcgis-online/administer/enterprise-logins.htm"&gt;Set up enterprise logins—ArcGIS Online Help | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 01:34:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713613#M66310</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-06-28T01:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch login straight to external OAuth identity provider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713614#M66311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know Oauth2 is an authorization protocol meaning that you have to ask permission to the user to allow an application&amp;nbsp; (eg: WebMap app) to access information about that user hosted on a plateform (eg: ArcGIS Enterprise).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as an organization hosting and securing data on an ArcGIS Enterprise, I think it would make sense to be able to register "official" applications that would be allowed to &lt;STRONG&gt;skip the authorization form&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;If Google asked you to grant permission to Google every time you logged in to gmail it would be pretty confusing.&amp;nbsp;&lt;SPAN&gt;Allowing &lt;STRONG&gt;first party clients&lt;/STRONG&gt; to skip the authorization prompt is supported by the majority of OAuth servers: Auth0, Otka, Doorkeeper, Django OAuth Toolkit, IdentityServer, Keycloak, Ory Hydra, and others.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;SPAN&gt;As our ArcGIS Enterprise is configured with our SAML identity provider, the authorization form is preventing an SSO experience within the organization and is confusing for the end user which has no idea that behind the scene there is an ArcGIS Enterprise.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;SPAN&gt;So far I don't think it is doable, isn't it ? Do you think an ArcGIS Idea should be created ? It is something you would consider ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;SPAN&gt;Nicolas&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 08:09:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713614#M66311</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2019-07-09T08:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch login straight to external OAuth identity provider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713615#M66312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just created an idea:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/ideas/17012-arcgis-enterprise-oauth2-skip-authorization-form"&gt;https://community.esri.com/ideas/17012-arcgis-enterprise-oauth2-skip-authorization-form&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 09:06:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713615#M66312</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2019-07-23T09:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch login straight to external OAuth identity provider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713616#M66313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3063"&gt;Kelly Gerrow&lt;/A&gt;‌, any thought about this request ?&lt;/P&gt;&lt;P&gt;I created an Idea but did not get any feedback so I was wondering if I missed anything ?&lt;/P&gt;&lt;P&gt;I believe this is something that would ask many organization but maybe I am mistaken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 11:50:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713616#M66313</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2019-08-09T11:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch login straight to external OAuth identity provider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713617#M66314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any update on this? I'm running into this exact same issue and cannot find any documentation or examples anywhere that explain how to achieve this. I'm beginning to think this isn't possible. My scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A front-end client app using Azure AD Authentication.&lt;/P&gt;&lt;P&gt;A back-end custom API using Azure AD Authentication.&lt;/P&gt;&lt;P&gt;An ArcGIS Enterprise site with Azure AD IDP and SSO configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The front-end client app has permissions for the back-end custom API app registration and the ArcGIS Enterprise app registration.&lt;/P&gt;&lt;P&gt;When I request an access token from Azure AD (using my client app id), and then register this token with the JSAPI IdentityManager, when calling portal.signIn(), i get a 'token is invalid' response. Not sure what I'm missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the Microsoft Authentication Library (MSAL) I can very easily manage OAuth flow between client-app and custom back-end API. I don't see why I cannot achieve the same flow with ArcGIS Enterprise, as it is also registered in Azure AD.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or insight greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 05:50:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/713617#M66314</guid>
      <dc:creator>AlecPatrizio1</dc:creator>
      <dc:date>2020-01-10T05:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch login straight to external OAuth identity provider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/1005397#M70935</link>
      <description>&lt;P data-unlink="true"&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;AlecPatrizio1&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;We are also facing an issue similar to yours (as given below). Can you please share if you have any updates. Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;When I request an access token from Azure AD (using my client app id), and then register this token with the JSAPI IdentityManager, when calling portal.signIn(), i get a 'token is invalid' response. Not sure what I'm missing.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Nov 2020 17:41:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/1005397#M70935</guid>
      <dc:creator>Ranga_Tolapi</dc:creator>
      <dc:date>2020-11-29T17:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch login straight to external OAuth identity provider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/1233065#M79381</link>
      <description>&lt;P&gt;Any solution this? I'm in the same situation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 00:35:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-launch-login-straight-to-external-oauth/m-p/1233065#M79381</guid>
      <dc:creator>MelvinSuratos</dc:creator>
      <dc:date>2022-11-18T00:35:48Z</dc:date>
    </item>
  </channel>
</rss>

