POST
|
I am working on a web application which used Vue framework. I am following the code snippet in this link to authenticate the user. Access ArcGIS Online items using OAuthentication | ArcGIS API for JavaScript 4.16 Below is my version. <script> import { loadModules } from 'esri-loader' export default { name: 'Home', selectedAgol: '', data () { return { } }, mounted(){ loadModules('esri/identity/IdentityManager', 'esri/identity/OAuthInfo').then(([esriId, OAuthInfo]) => { const info = new OAuthInfo({ appId: "fdksdofiwue3wmerf", portalUrl: "https://www.arcgis.com/sharing/rest/oauth2/authorize/", popup: false }); esriId.registerOAuthInfos([info]); esriId .checkSignInStatus(info.portalUrl + "/sharing") .then(function () { displayItems(); }) .catch(function () { // Anonymous view anonPanelElement.style.display = "block"; personalPanelElement.style.display = "none"; }); }) } } </script> The script generates the following error. Uncaught (in promise) Error: undefinedModule at p (dojo.js:5) at ba (dojo.js:11) at v (dojo.js:5) at eval (esri-loader.js?31e8:237) at new Promise (<anonymous>) at requireModules (esri-loader.js?31e8:234) at loadModules (esri-loader.js?31e8:268) at VueComponent.mounted (Home.vue?5584:492) at invokeWithErrorHandling (vue.esm.js?efeb:1863) at callHook (vue.esm.js?efeb:4228) I very much appreciate any suggestion you may have.
... View more
07-15-2020
07:06 PM
|
0
|
0
|
488
|
POST
|
Both properties return the exact same value "2020-02-24 14:1909".
... View more
02-25-2020
04:58 AM
|
0
|
1
|
814
|
POST
|
What's the difference between lastLogin and modified properties in class arcgis.gis. User (gis, username, userdict=None)? lastLogin is the last login date of the user. modified is the date the user was last modified. From these descriptions one would expect the two properties to be different, but they are not. They both show the lastLogin. We need to be able to audit changes (role, user type, password) to the accounts. modified property has to be designated specifically for this purpose and not be a redundant property for lastLogin
... View more
02-24-2020
12:49 PM
|
1
|
3
|
926
|
POST
|
Hi Jonathan, I have the server and portal running on a single AWS instance. The SSL is issued for the DNS of this server for port 443. I have imported the certificate into Portaladmin through the Import Root or Intermediate Certificate operation. I have configured both the web adapters, and configured relation and tile DS on this server. The server and the portals are federated, and it is valid. Both the server and portal home are accessible via an ELB from outside. But, the server is disabled under the Hosting Server dropdown list, and I get this message from the checkUrl.jsp. { "success": false, "error": {"message": "Unknown Exception"} } Regards, Fardosht
... View more
01-27-2020
06:29 AM
|
0
|
1
|
2057
|
Title | Kudos | Posted |
---|---|---|
1 | 02-24-2020 12:49 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|