I have configured CAS SAML with below configuration values and receiving 
the SAML response. Could you please some one guide me,how to configure CAS 
to generate JWT token  

https://apereo.github.io/cas/5.2.x/installation/Configuring-SAML2-Authentication.html
 
- As Identity provider 

#CAS Properties
cas.authn.samlIdp.entityId=https://test1.<domain>/cas/idp
cas.authn.samlIdp.scope=<domain>
cas.authn.samlIdp.metadata.location=file:/etc/cas/saml
cas.authn.samlIdp.metadata.privateKeyAlgName=RSA
cas.authn.samlIdp.metadata.requireValidMetadata=true

cas.authn.accept.users=casuser::Mellon

#1SAMLServices-123456788.json

{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "https://test2.<domain>/*.*",
  "name" : "SAMLService",
  "id" : 123456788,
  "evaluationOrder" : 10,
  "metadataLocation": "file://sp-metadata.xml"
}


#2SAMLServices-123456789.json
{
  "@class" : "org.apereo.cas.support.saml.services.SamlRegisteredService",
  "serviceId" : "urn:mace:saml:pac4j.org",
  "name" : "SAMLService",
  "id" : 123456789,
  "evaluationOrder" : 10,
  "metadataLocation": "/etc/cas/config/sp-metadata.xml"
}



+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

https://apereo.github.io/cas/5.2.x/integration/Delegate-Authentication.html 
- As Service provider 

#CAS Properties
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://test1.<domain>/cas/idp/metadata
cas.authn.pac4j.saml[0].clientName=CASTEST
cas.authn.pac4j.saml[0].wantsAssertionsSigned=true

-- 


********************************************



 

*Inmar Confidentiality 
Note*:  This e-mail and any attachments are confidential and intended to be 
viewed and used solely by the intended recipient.  If you are not the 
intended recipient, be aware that any disclosure, dissemination, 
distribution, copying or use of this e-mail or any attachment is 
prohibited.  If you received this e-mail in error, please notify us 
immediately by returning it to the sender and delete this copy and all 
attachments from your system and destroy any printed copies.  Thank you for 
your cooperation.



 

*Notice of Protected Rights*:  The removal of any 
copyright, trademark, or proprietary legend contained in this e-mail or any 
attachment is prohibited without the express, written permission of Inmar, 
Inc.  Furthermore, the intended recipient must maintain all copyright 
notices, trademarks, and proprietary legends within this e-mail and any 
attachments in their original form and location if the e-mail or any 
attachments are reproduced, printed or distributed.

 


********************************************

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/b68bfd28-a6e4-46fa-b070-f869196761ea%40apereo.org.

Reply via email to