Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
Describe the issue:
Following error occurs when importing a service provider from a yaml file. This is happening after upgrading to snakeyaml 2.xx (https://github.com/wso2/identity-api-server/pull/480).
Need to check the other places where resources are being imported from yaml files (idp import API).
Caused by: Global tag is not allowed: tag:yaml.org,2002:org.wso2.carbon.identity.application.common.model.ServiceProvider
in 'string', line 1, column 1:
!!org.wso2.carbon.identity.appli ...
^
Describe the issue: Following error occurs when importing a service provider from a yaml file. This is happening after upgrading to snakeyaml 2.xx (https://github.com/wso2/identity-api-server/pull/480). Need to check the other places where resources are being imported from yaml files (idp import API).
How to reproduce:
Possible Fix: https://stackoverflow.com/questions/76717530/global-tag-is-not-allowed-exception-in-snakeyaml-2-0