Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

SSO not working for signed SAML assertion

bhushan
New Contributor II
New Contributor II

Hi All,

We are trying to configure SAML SSO for signed saml assertions.
We have updated all the required files with updated attributes and restarted the application. Its throwing below error when we try to hit the URL.

2023-08-07T16:16:48.867691267Z stdout F 2023-08-07 16:16:48,867 [http-nio-8080-exec-21] ERROR error.ErrorController - Exception
2023-08-07, 12:16 pm
ecm
2023-08-07T16:16:48.867726067Z stdout F org.codehaus.groovy.grails.web.errors.GrailsWrappedRuntimeException: Cannot sign outgoing message as no signing credential is set in the context
2023-08-07, 12:16 pm
ecm
2023-08-07T16:16:48.867743267Z stdout F at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)
2023-08-07, 12:16 pm
ecm
2023-08-07T16:16:48.867748467Z stdout F at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:144)
2023-08-07, 12:16 pm
ecm
2023-08-07T16:16:48.867752367Z stdout F at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)
2023-08-07, 12:16 pm
ecm
2023-08-07T16:16:48.867754867Z stdout F at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59)
2023-08-07, 12:16 pm
ecm
2023-08-07T16:16:48.867757368Z stdout F at java.lang.Thread.run(Thread.java:750)
2023-08-07, 12:16 pm
ecm
2023-08-07T16:16:48.867759668Z stdout F Caused by: java.lang.IllegalArgumentException: Cannot sign outgoing message as no signing credential is set in the context
2023-08-07, 12:16 pm
ecm
2023-08-07T16:16:48.867761968Z stdout F at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59)
2023-08-07, 12:16 pm
ecm
2023-08-07T16:16:48.867764368Z stdout F at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69)
2023-08-07, 12:16 pm
ecm
2023-08-07T16:16:48.867766968Z stdout F at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82)
2023-08-07, 12:16 pm
ecm
2023-08-07T16:16:48.867769468Z stdout F ... 1 more

Please let us know if anything is missing.

Thanks,
Bhushan

2 REPLIES 2

SumanPatra
Saviynt Employee
Saviynt Employee

Hi @bhushan,

can you please let me know the steps you have performed. what is the IDP here you are trying to setup the SSO? can you please share a screen shot of the authentication.groovy file.

 

Regards,

Suman

bhushan
New Contributor II
New Contributor II

Hi @SumanPatra ,
Steps performed:
1. IDP file upload
2. SP file created using saviynt sample file
3. Keystore created and updated

The IDP is Azure

bhushan_0-1691590361006.pngbhushan_3-1691591793659.png

bhushan_4-1691592856669.png

Thanks,
Bhushan Jejurkar