Details:
Question: Is there a way to open this WAB in a way that immediately takes the user to our AGOL org login (oAuth)? That is, we'd like to launch this WAB as if it is not shared publicly thereby redirecting to the oAuth login.
Reason: We want our internal users to open this WAB by logging in first.
Something like,
https://orgdomain.maps.arcgis.com/sharing/oauth2/authorize?client_id=UyH4sddQUW7TqrBMgJTC&response_type=token&state=%7B%22portalUrl%22%3A%22http%3A%2F%2Forgdomain.maps.arcgis.com%22%7D&expiration=20159&redirect_uri=https%3A%2F%2Fapps.orgdomain.com%2FWABFolder%2FAPPNAME%2Findex.html
Ah I see. The "client_id" parameter is the AppId of the AGOL item. This works as expected:
https://orgdomain.maps.arcgis.com/sharing/oauth2/authorize?client_id=<AGOL WAB AppId Value>&response_type=token&state=%7B%22portalUrl%22%3A%22http%3A%2F%2Forgdomain.maps.arcgis.com%22%7D&expiration=20159&redirect_uri=https%3A%2F%2Fapps.orgdomain.com%2FWABFolder%2FAPPNAME%2Findex.html
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.