wso2 / product-is

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.
http://wso2.github.io/
Apache License 2.0
748 stars 727 forks source link

Update IDN_RECOVERY_DATA table and add IDN_RECOVERY_FLOW_DATA table #16576

Open Rashmini opened 1 year ago

Rashmini commented 1 year ago

With the fixes done for https://github.com/wso2/product-is/issues/16536, following DB changes were done.

Related PR: https://github.com/wso2/carbon-identity-framework/pull/4883

This needs a migration for the existing versions.

Note for the migration Impact doc

### Disabling User Account Recovery V1 API

With IS 7.0.0, User Account Recovery v1 API will be disabled by default.
It is recommended to migrate to the User Account Recovery v2 API. For users who still wish to use the v1 API, adjustments to the deployment.toml file are necessary. Add the following configuration to enable the v1 API:

[identity_mgt.recovery]
enable_v1_api = true

By incorporating this configuration, the v1 API will be kept enabled, aligning with behaviors observed in earlier versions.
Rashmini commented 1 year ago

Cleanup script for the new table is added with https://github.com/wso2/carbon-identity-framework/pull/4969