|
POST
|
I am banging my head against the wall trying to resolve how to get my application to work with OAuth and Portal 10.3.1 and would love if anyone has any suggestions... I have implemented OAuth App Login for my page mainly using the example at OAuth Popup | ArcGIS API for JavaScript My map only loads one layer, but I would prefer to keep that layer available to all users (In Portal and other apps). It is the specific use in my application of that layer that I would like to secure. After registering my application in my Portal, if I set the sharing of my Application to a specific group (lets call it Group A), and then try to login to my app as a Portal user who is NOT a member of Group A, the login works!! But it shouldn't work right? I should be able to secure an item at the Application level, not the resource level below it. Although I could always implement User login and secure the actual service/layer that is loaded into the map, but like I mentioned I would only like to secure the Application itself, not the endpoints of any layer I want to include It makes maintenance much easier, and makes more business sense. Attached is my page for testing - would love if anyone could help me work through this.
... View more
04-08-2016
10:51 AM
|
0
|
0
|
2569
|
|
POST
|
I use a federated / hosted Portal instance on top of my server, so I set the sharing through Portal, not through Manager. And the service is set to only provide access to members of a group, not all members of the Portal....
... View more
04-07-2016
06:54 AM
|
0
|
1
|
2106
|
|
POST
|
So what I found with this solution (which I had tried) was that esriId.getCredential will succeed as long as the user is a member of my Portal, and even if my member does NOT have access to the url endpoint passed into the function as a parameter. Are you not seeing this behavior when you try logging in with a user that doesn't have permission to your secured service? It doesn't make sense to me, but that is the behavior I am seeing....
... View more
04-07-2016
06:31 AM
|
0
|
3
|
2106
|
|
POST
|
Thanks Robert - do you have any examples of working code that implements this workflow that I might be able to look at? I'm having some difficulty with it.
... View more
04-05-2016
08:40 AM
|
0
|
5
|
2106
|
|
POST
|
I'm having some pesky problems implementing some authentication for my JS App (which is hosted on an internal web server). I thought that I could follow the Application login workflow (create application in Portal, use OAuthInfo class with appId to authenticate user to my Portal and gain access to my app) to allow only specific users to access my application as long as I set the security (through Portal) of my Web Mapping Application item to one of my Portal security groups. Turns out it doesn't matter if the Web Mapping Application is shared with everyone or no one - if my JS web app has the appId, any user can login to my application. So the only way (seemingly) to allow only some users access to my application is to restrict the _layers_ in my app to specific groups and use the IdentityManager class to challenge a user, etc. etc. I like how the API handles much of this workflow without much extra coding - if my app tries to add a restricted layer to the map (map.addLayers([restrictedLayer1, layer2]), the user is prompted to sign in. However, sometimes those restricted layers are not added until after a bunch of other stuff happens (dom parsing, widget instantiation, etc etc). I would like to make sure the user has access to those secured layers before anything else happens, especially before my app gets to the point where it is trying to add those secured layers to the map. I don't know how to do this. What classes and methods should I use to challenge a user and determine if that user has access to a specific restricted layer? I tried using IdentityManager getCredential method, where the URL is my restricted layer endpoint, but that didn't work. Any suggestions?
... View more
03-31-2016
07:20 AM
|
0
|
7
|
4596
|
|
POST
|
Thanks Paul - yes that worked. The strange thing is that I didn't have to do this with previous versions of Esri Maps for Office - it just worked without any server side configuration or installation -even with v 3.x of Maps for Office. Anyway, thanks for pointing me in the right direction!
... View more
03-28-2016
06:55 AM
|
0
|
0
|
1410
|
|
POST
|
I just installed an update to Esri Maps for Office (it is not at version 4.0.0.358) and my office version is 2010 32-bit It connects to my portal (version 10.3). When I click the sign-in button on the ribbon in PowerPoint or Excel, I get the following error: "Unable to start ArcGIS Maps for Office. The Portal at <my portal> is not configured to support ArcGIS Maps for Office. Refer to the documentation for further guidance" Maps for office was working fine before, so anyone have any ideas what's going on? It has nothing to do with my installation of office version because if I change the ArcGIS Connection URL to an AGOL endpoint instead of my Portal endpoint, everything works fine.
... View more
03-25-2016
12:35 PM
|
0
|
2
|
4214
|
|
POST
|
I'm working on a bower / grunt build of the ArcGIS API 3.16 using the new Calcite theme. If I point my two requite css files (calcite.css and esri.css) at the CDN (https://js.arcgis.com/3.16/esri/themes/calcite/dijit/calcite.css , and https://js.arcgis.com/3.16/esri/themes/calcite/esri/esri.css) instead of my local build (esri/css/calcite/calcite.css and esri/css/esri.css), my app looks pretty normal. However, if I use the built version of the css files after using grunt-dojo plugin for a custom build, my app doesn't look nearly as clean. Some of the fonts are bigger, my pop-up windows are mangled, and I don't receive any of the fastfont errors associated with the CDN versions of the files. Any ideas what is going on here (or who at Esri I can tweet at that might know). Thanks!
... View more
03-24-2016
11:56 AM
|
0
|
5
|
4422
|
|
POST
|
The original owner can't delete it. I was trying to see if anyone knew of a scripting or manual way to get rid of it. Right now it's just a pointer to nothing.
... View more
03-23-2016
02:20 PM
|
0
|
1
|
8648
|
|
POST
|
Yeah, it's not in server manager either. It's just a rogue item in my Portal that doesn't point to anything and I don't know how to get rid of....
... View more
03-07-2016
11:54 AM
|
1
|
3
|
8648
|
|
POST
|
I am the item owner. I had changed the owner from another user to myself so I could attempt to use ArcGIS Online Assistant to force change the deleteProtection JSON (which didn't work).
... View more
03-07-2016
10:45 AM
|
0
|
5
|
8648
|
|
POST
|
I'm having problems deleting an item in Portal for ArcGIS. It is delete protected so I can't delete using the UI. I am unable to change the delete protection because the edit button is also disabled. I used ArcGIS Online Assistant and tried to change the delete protection from there but the change from true to false wouldn't actually take. It just kept reverting back. I tried to find the xml or json file in the item ID folder on the Portal server itself, but I couldn't find the delete protection attribute. I'm hesitant to just outright delete the item ID folder itself because I don't know if the item ID is registered anywhere else (a user's item list for instance). Could anyone instruct me on a thorough way to force delete an item from Portal for ArcGIS?
... View more
03-07-2016
09:35 AM
|
1
|
41
|
42476
|
|
POST
|
Thanks Jake - I'll give it a try and see if that works. The reason I'm concerned is because if I look in ArcGIS Server Manager at the Service Workspace of one of my map services, I can see it is tied to the SQL Instance (see attached screenshot showing SQL Server name / instance name). I can change the instance name in the Database Connection file in ArcCatalog, but I don't see how that would change the setting in ArcGIS for Server without republishing the services via the map documents. Thanks!
... View more
01-04-2016
08:31 AM
|
0
|
7
|
3571
|
|
POST
|
We are doing some SQL consolidation, and are migrating our current enterprise geodatabase (the current data store for Server and Portal for ArcGIS 10.3) to a different SQL Instance. Our DBO is comfortable migrating the database, users, etc. to a different instance under the same database name and setting, but I am worried about the ArcGIS for Server services, since the services seemed to be tied to the SQL Server / Instance. Am I going to have to change all the data sources in my Map Documents and republish services once the database is migrated? Thanks!
... View more
01-04-2016
08:10 AM
|
1
|
9
|
5765
|
|
POST
|
I have installed and successfully authorized the GeoEvent Extension 10.3.1 on my federated ArcGIS system (Server 10.3.1 federated and hosted with Portal 10.3.1). When I try to login with portal administrator username and password, I get an error that says the username or password you've entered is incorrect. I used Chrome developer tools to see what was happening, and noticed there is a missing trailing slash in the POST request to generate the token. This is the URL for the POST request taken from Chrome developer tools (the POST requests returns a 404): https://mygeoeventserver.org.tld:6143/geoevent/admin/proxy?https://mygiswebadaptor.org.tld/gissharing/generateToken My Portal entry point is https://mygiswebadaptor.org.tld/gis, and the correct page for generating a token should be https://mygiswebadaptor.org.tld/gis/sharing/generateToken, but as you can see the proxy request omits the slash after gis so the page requested is /gissharing/generateToken (which doesn't exist). Any way to fix this? Thanks!
... View more
12-29-2015
09:10 AM
|
0
|
0
|
3816
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 02-23-2026 11:00 AM | |
| 1 | 07-08-2025 11:33 AM | |
| 1 | 11-07-2023 08:32 AM | |
| 2 | 10-01-2025 06:52 AM | |
| 5 | 09-08-2025 07:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|