Give registered application access to portal content

158
0
02-04-2019 09:58 PM
ChristopherMugdan
New Contributor III

I have a registered application created by me, an administrator of the Portal, and I own a group and web maps, but when I try to gain access to the content it does not have permission.

Sequence:

  1. I generate an OAuth2 token with the client id and client secret.
  2. I request a specific group that i know is there and owned by me.
  3. I ask for a list of the web maps owned by me

With the group it cannot find it

With the web maps, it complains "Failed to get the contents: You do not have permissions to access this resource or perform this operation."

How can I allow the application to gain access to the content and group(s)?

Cheers,
Chris Mugdan

0 Kudos
0 Replies