wso2 / docs-open-banking

Apache License 2.0
39 stars 25 forks source link

Adding a note for increasing the size allocated for CALLBACK_URL for DCR flow. #115

Closed KasuniHemasika closed 4 years ago

KasuniHemasika commented 4 years ago

Description: For DCR flow there can be situations where TPP can be using a callback_url which exceeds the default sizes allocated for the column CALLBACK_URL in AM_APPLICATION (varchar 512) table & IDN_OAUTH_CONSUMER_APPS (varchar 1024) table.

According to the response we got from OBIE for the query in [1], there is no limit on the number of redirects you can add and according to UK open banking specification [2], each URL can contain up to 256 characters.

Therefore it's better to add a note in [3] & [4] before the section Registering an application to increase the column size of the column CALLBACK_URL in their database environment accordingly to cater to such situations.

[1] - https://openbanking.atlassian.net/servicedesk/customer/portal/1/OBSD-10906 [2 - https://openbanking.atlassian.net/wiki/spaces/DZ/pages/1078034771/Dynamic+Client+Registration+-+v3.2#DynamicClientRegistration-v3.2-DataDictionary [3] - https://docs.wso2.com/display/OB150/Dynamic+Client+Registration+v3.2 [4] - https://docs.wso2.com/display/OB140/Dynamic+Client+Registration+v3.2

Suggested Labels:

Suggested Assignees:

Affected Product Version: 1.5.0 & 1.4.0

OS, DB, other environment details and versions:
MYSQL, MSSQL, ORACLE

Steps to reproduce:

Related Issues: https://github.com/wso2-enterprise/financial-open-banking/issues/4210

isharailanga commented 4 years ago

Hi @KasuniHemasika, Added the following note to the DCR pages: image

https://docs.wso2.com/display/OB140/Dynamic+Client+Registration+API+v0.1 https://docs.wso2.com/display/OB150/Dynamic+Client+Registration+v0.1 https://docs.wso2.com/display/OB140/Dynamic+Client+Registration+v3.2 https://docs.wso2.com/display/OB150/Dynamic+Client+Registration+v3.2