Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non public item in ArcGIS Portal can not be added to Map in Geoportal #503

Closed
as0050629 opened this issue Aug 18, 2023 · 1 comment
Closed
Assignees
Labels

Comments

@as0050629
Copy link
Collaborator

Describe the bug
ArcGIS Portal Non Public item can not be Added to Map in Geoportal

To Reproduce
Steps to reproduce the behavior:

  1. Go to Portal for ArcGIS
  2. Add an item.
  3. Harvest this item in Geoportal'
  4. Scroll to this item in Geoportal and Add to Map.
  5. It opens Portal Sign In dialog. Enter valid credentials.
  6. It fails with token error

Expected behavior
Item should be added Map

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@as0050629 as0050629 self-assigned this Aug 18, 2023
@as0050629 as0050629 added the bug label Aug 18, 2023
@as0050629
Copy link
Collaborator Author

In troubleshooting session, we found that portal token service is not accessible from Geoportal machine due to Access Control Origin error

Access to XMLHttpRequest at 'https://solutions.esri.in/portal/sharing/generateToken' from origin 'http://desktop-39e9di7:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Please follow below link to allow Geoportal machine domain in Portal.
https://enterprise.arcgis.com/en/portal/latest/administer/windows/restrict-cross-domain-requests-to-your-portal.htm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant