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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Oauth client creation is failing


Level 5



We are using adobe 6.5.0 SP10 version in our servers and we are trying to configure Oauth authorization mechanism for third parties to consume our services/servlets and currently we have implemented SAML SSO authentication which is working fine for end users.


For third parties to consume our servlet we started configuring Oauth implementation as suggested by few documents.

In local we are able to proceed, but in our servers, when we create oauth client we are getting below error.



the "oauth:clientIdHmac" value not saving while creating client as well as it is showing some error if we try to add manually as well.

Due to this, even the node under admin/oauth also not creating.


Any idea, what is the problem here?




1 Accepted Solution


Correct answer by
Level 5

Issue is fixed by importing nodetype.cnd for oauth:client

View solution in original post

0 Replies


Level 5



In our old 6.1 AEM instance Oauth client creation is working.

But we are currently using AEM 6.5 SP 10 on prem instance where the creation of Oauth client is failing.

Suspecting that something happened during upgrade but unable to figure out what is the problem.

Any help ?


28.12.2022 23:03:08.725 *ERROR* [ [1672297388723] POST /home/users/a/admin/oauth/ HTTP/1.1] Exception during response processing.
java.lang.IllegalArgumentException: Value for key oauth:clientIdHmac can't be put into node: uA0ISZ62lZuiQ7FZawp7OUMyUL4SLiQnm9A8q-BMeYc
at []


Caused by: javax.jcr.nodetype.ConstraintViolationException: No matching property definition: oauth:clientIdHmac = uA0ISZ62lZuiQ7FZawp7OUMyUL4SLiQnm9A8q-BMeYc
at org.apache.jackrabbit.oak.jcr.delegate.NodeDelegate.setProperty( [org.apache.jackrabbit.oak-jcr:1.22.8]


Correct answer by
Level 5

Issue is fixed by importing nodetype.cnd for oauth:client