How to generate SAML SP Metadata for Spring Boot?


I have developed spring boot SAML application, I followed the steps in this post,

It works perfectly, but how can I get the Service Provider metadata?

Or do I need to generate it manually?

Are you asking how to get the SP metadata from Spring Boot (as a SAML SP)? Or how to use another SAML IdP with Okta?

Hello Tom,
Thanks for the reply.
Yes, I want to get the SP metadata from the spring boot.
As I want to integrate my spring boot application with ADFS. The ADFS administrator required Application (SP metadata url).

I’m not a spring boot expert, but generating SAML metadata is supported by spring security: