Hi all,

When we want to send the custom status and status message from backend
referring to the keys in the resources.properties, the current
implementation[1] encode the key from the backend and tries to find the
encoded value from the resources.properties file. This leads to having
encoded values in resources.properties file.

bWlzY29uZmlndXJhdGlvbi5lcnJvcg__=Misconfiguration Error!
c29tZXRoaW5nLndlbnQud3JvbmcuY29udGFjdC5hZG1pbg__=Something went wrong
during the authentication process. Please contact identity admin.

This will not user-friendly.

So I have planned to change the implementation as in the back end sending
the encoded value of the key and in the front end, we will decode the
received key from the request and decode it and look for the decoded value
in the resources.properties file.

Will this change affect any existing implementations?

[1] - https://github.com/wso2/carbon-identity-framework/pull/1306

thanks,
Senthalan
-- 

*Senthalan Kanagalingam*
*Software Engineer - WSO2 Inc.*
*Mobile : +94 (0) 77 18 77 466*
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to