Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Stuart-Downing
Community profile Stuart-Downing Level 1
Job title here
Location here
4 BADGES
Level 1

Level 1

Learn more
Joined the community 09-04-2021 11:06:24 AM
Offline
Top badges earned by Stuart-Downing
Customize the badges you want to showcase on your profile
Re: How to get metadata of Dam Asset while accessing an a...
Avatar
Give Back 5
Level 1
Stuart-Downing
Level 1

Likes

2 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 1
View profile
Stuart-Downing
- Adobe Experience Manager
I see what appears to be the oauthservice user here: /home/users/system/cq:services/internal/oauth/{{UUID}} It has property rep:principalName=oauthservice. I don't know what pattern to look for to find the temporary user created. I don't have permission to access /system/console.

Views

81

Likes

0

Replies

0
Re: How to get metadata of Dam Asset while accessing an a...
Avatar
Give Back 5
Level 1
Stuart-Downing
Level 1

Likes

2 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 1
View profile
Stuart-Downing
- Adobe Experience Manager
The code (PHP) follows. As to the question about seeing a new oauth user, I don't see any new users created after the JWT exchange. Also, the JWT exchange is successful and generate an access token that results in a successful asset api request that is identical to my request made with a local development token, except that the metadata property is empty.

Views

75

Like

1

Replies

1
Re: How to get metadata of Dam Asset while accessing an a...
Avatar
Give Back 5
Level 1
Stuart-Downing
Level 1

Likes

2 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 1
View profile
Stuart-Downing
- Adobe Experience Manager
1. I have no insight into the user generation process you describe. Presumably this user "lives" as long as the lifespan of the access token returned by the JWT exchange process. After the exchange process, I searched the user/group lists for plausible candidates ("oauth", "api", "cloud", "integration") with no luck.2. I am presuming that adding jcr:all to a path will cause that permission to be inherited by all folders/assets below that path. If I'm mistaken about this then applying to /content...

Views

113

Like

1

Replies

3
Re: How to get metadata of Dam Asset while accessing an a...
Avatar
Give Back 5
Level 1
Stuart-Downing
Level 1

Likes

2 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 1
View profile
Stuart-Downing
- Adobe Experience Manager
1. I have no insight into the user generation process you describe. Presumably this user "lives" as long as the lifespan of the access token returned by the JWT exchange process. After the exchange process, I searched the user/group lists for plausible candidates ("oauth", "api", "cloud", "integration") with no luck.

Views

92

Likes

0

Replies

0
Re: How to get metadata of Dam Asset while accessing an a...
Avatar
Give Back 5
Level 1
Stuart-Downing
Level 1

Likes

2 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 1
View profile
Stuart-Downing
- Adobe Experience Manager
What were the required privileges? I tried adding jcr:all to /content/dam, but this wasn't sufficient. My http assets api requests return empty metadata property. When logged into the instance, or using a local development token instead of JWT, metadata is populated. We are trialing AEM and using a consultant who suggested that perhaps our license doesn't support metadata in this context.

Views

116

Likes

0

Replies

0
Likes from