How do I use the Okta IdP metadata to set up SAML on the Service Provider side?
I am currently trying to make a custom Java application SAML enabled. I have set up the application as a SAML app in the Okta admin application. The directions in "How to Configure SAML 2.0" then provide the IdP Single Sign-On URL, IdP Issuer, and the X.509 certificate.
How would I use this information in order to make my Service Provider (custom Java app) SAML enabled? Which would then allow it to communicate with Okta via the Okta SAML Toolkit.
I am not using the Spring Framework for this application. Are the steps the same as far as Service Provider metadata goes? Ideally I can just utilize the Okta SAML Toolkit to communicate with Okta, but I need the proper SP metadata to pull from.
The main issue at hand is that I do not know how to use the information provided by Okta in order to formulate the SP metadata that I can then include in the custom Java app.
I have read the README and looked at the exampels provided. However, in the Okta-SAMLToolkit/examples/webapp/src/main/resources/valid-config.xml it says that you can replace the commented out portion with valid "Template SAML 2.0 Metadata".
I have replaced the commented section of this file with the metadata provided by Okta for my custom application. However, when I run my program, an error is thrown as soon as the SamlValidator tries to configure using the .xml file I created. Any advice on where to start looking?