Select to view content in your preferred language

Redirect url to open Publicly Shared WAB as login user

702
1
Jump to solution
12-21-2017 07:31 AM
JamesCrandall
MVP Frequent Contributor

Details:

  • AGOL is an org site
  • Deployed WAB product created with WAB Developer 2.5
  • WAB deployed to our domain
  • Deployed WAB's AGOL item is shared publicly
  • WAB opens as desired from the url just fine

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_t...

0 Kudos
1 Solution

Accepted Solutions
JamesCrandall
MVP Frequent Contributor

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...

View solution in original post

1 Reply
JamesCrandall
MVP Frequent Contributor

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...