After adding below library and properties files;
implementation "org.apereo.cas:cas-server-support-pac4j-webflow:${project.
'cas.version'}"


cas.authn.pac4j.saml[0].keystorePassword=pac4j-demo-passwd
cas.authn.pac4j.saml[0].privateKeyPassword=pac4j-demo-passwd
cas.authn.pac4j.saml[0].keystorePath=/etc/cas/config/samlKeystore.jks
cas.authn.pac4j.saml[0].serviceProviderEntityId=urn:mace:saml:pac4j.org
cas.authn.pac4j.saml[0].serviceProviderMetadataPath=
/etc/cas/config/sp-metadata.xml
cas.authn.pac4j.saml[0].identityProviderMetadataPath=
https://dev-18461928.okta.com/app/exk5fzxeb8QKtVEL05d7/sso/saml/metadata
cas.authn.pac4j.saml[0].clientName=SAML2Client

I got an error like below;

ERROR 
[org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/cas].[dispatcherServlet]]
 
- <Servlet.service() for servlet [dispatcherServlet] in context with path 
[/cas] threw exception [Request processing failed; nested exception is 
org.springframework.webflow.execution.ActionExecutionException: Exception 
thrown executing 
org.apereo.cas.support.pac4j.web.flow.DelegatedClientAuthenticationAction@dbe8359
 
in state 'clientAction' of flow 'login' -- action execution attributes were 
'map[[empty]]'] with root cause>
org.pac4j.core.exception.TechnicalException: No client found for name: 
SAML2Client

-- 
- 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/f29a681f-cdff-43a9-bfd5-dcb88a386cc6n%40apereo.org.

Reply via email to