Search code examples
grailsspring-securitysaml

Grails Spring Security SAML plugin "SPSSODescriptor wasn't found"


I've configured the grails saml plugin and its loads the SP metadata file. When I try to access a protected resource on the application I get the following error. I can't seem to find any information about it.

Metadata for entity testing-app and role {urn:oasis:names:tc:SAML:2.0:metadata}SPSSODescriptor wasn't found


Solution

  • The issue was with a typo in the default SP alias. So it was loading the SP metadata file but failing to find the entityDescriptor because the alias lookup was incorrect