I have ldap configured to validate user credentials.
I also have cas acting as an oauth server.
I have an oauth service defined as:
{
"@class" :
"org.apereo.cas.support.oauth.services.OAuthRegisteredService",
"clientId": "clientxyz",
"clientSecret": "myClientS3cret",
"generateRefreshToken": true,
"serviceId" : "clientxyz-prod",
"name" : "clientxyz-prod",
"id" : 20210910142200,
"supportedGrantTypes": [ "java.util.HashSet", [ "client_credentials",
"refresh_token" ] ],
"supportedResponseTypes": [ "java.util.HashSet", [ "code", "token" ] ]
}
I get a token then see this in my logs:
WARN [org.apereo.services.persondir.support.MergingPersonAttributeDaoImpl]
(default task-72) Recovering From Exception thrown by
'org.apereo.services.persondir.support.ldap.LdaptivePersonAttributeDao@242872b':
java.lang.RuntimeException: Failed executing LDAP query
[org.ldaptive.FilterTemplate@1979586297::filter=(|(uid={user})(cn={user})),
parameters={user=clientxyz-prod]
Why is ldap being queried on token request?
-psv
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/3597ebac-6566-44c2-80a2-32e587d84519n%40apereo.org.