Get a 500 error using sourceApplicationId when application has samlv2Configuration
Description
Creating a new application from another application with sourceApplicationId returns a 500 error when the source application has SAML v2 enabled and configured. If you have not configured SAML v2, you will not be affected by this issue.
Affects versions
1.43.0
Steps to reproduce
Create an application
Add samlv2Configuration
Attempt to copy application via api with a command like: curl -i -X POST -H "Content-type: application/json" -d '{"application": {"name": "test copy app"}, "sourceApplicationId": "<insert id here>"}' https://demo.fusionauth.io/api/application
Get 500 status
Expected behavior
Expect a copy of the application to be created
Workaround
Call Create Application API without the sourceApplicationId parameter and supply all the parameters copied from the source application.
Get a
500
error usingsourceApplicationId
when application has samlv2ConfigurationDescription
Creating a new application from another application with
sourceApplicationId
returns a500
error when the source application has SAML v2 enabled and configured. If you have not configured SAML v2, you will not be affected by this issue.Affects versions
1.43.0
Steps to reproduce
curl -i -X POST -H "Content-type: application/json" -d '{"application": {"name": "test copy app"}, "sourceApplicationId": "<insert id here>"}' https://demo.fusionauth.io/api/application
Expected behavior
Expect a copy of the application to be created
Workaround
Call Create Application API without the
sourceApplicationId
parameter and supply all the parameters copied from the source application.Logs
Server log has
Platform