Hi Naduni,

Please note that scope in [1] is a single scope value and other 2 places
has the whole scope string for a token (or authorization code).

As you get this error, seems to be your single scope values are more than
60 characters in length.

[1] https://github.com/wso2/carbon-identity-framework/
blob/master/features/identity-core/org.wso2.carbon.identity.
core.server.feature/resources/dbscripts/mysql.sql#L105

Thanks,

On Thu, Jun 22, 2017 at 12:53 PM, Naduni Pamudika <nad...@wso2.com> wrote:

> Thanks a lot Indunil.
>
> On Thu, Jun 22, 2017 at 12:38 PM, Isura Karunaratne <is...@wso2.com>
> wrote:
>
>>
>> On Thu, Jun 22, 2017 at 12:21 PM, Nuwan Dias <nuw...@wso2.com> wrote:
>>
>>> Please remember to include this change in the migration script (5.3.0 to
>>> 5.4.0) as well.
>>>
>> Noted. [1] is used to maintain the changes from 5.3.0 to 5.4.0.
>>
>> [1] https://wso2.org/jira/browse/IDENTITY-6094
>>
>> Thanks
>> Isura.
>>
>>>
>>> On Thu, Jun 22, 2017 at 12:19 PM, Indunil Upeksha Rathnayake <
>>> indu...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Created a JIRA for this in [1], will be fixed in 5.4.0-m2.
>>>>
>>>> [1] https://wso2.org/jira/browse/IDENTITY-6093
>>>>
>>>> Thanks and Regards
>>>>
>>>> On Thu, Jun 22, 2017 at 11:54 AM, Naduni Pamudika <nad...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi IS Team,
>>>>>
>>>>> I am working on the SSO Login feature in APIM, and there I need to
>>>>> have a bit longer scopes list. When I was trying to send the access token
>>>>> request it gave an error saying "Value too long for column
>>>>> "TOKEN_SCOPE VARCHAR(60) NOT NULL"".
>>>>>
>>>>> Noticed that you have size 2048 for the scopes in other places [1,2].
>>>>> Can you please increase this [3] as well?
>>>>>
>>>>> [1] https://github.com/wso2/carbon-identity-framework/blob/m
>>>>> aster/features/identity-core/org.wso2.carbon.identity.core.s
>>>>> erver.feature/resources/dbscripts/mysql.sql#L31
>>>>> [2] https://github.com/wso2/carbon-identity-framework/blob/m
>>>>> aster/features/identity-core/org.wso2.carbon.identity.core.s
>>>>> erver.feature/resources/dbscripts/mysql.sql#L86
>>>>> [3] https://github.com/wso2/carbon-identity-framework/blob/m
>>>>> aster/features/identity-core/org.wso2.carbon.identity.core.s
>>>>> erver.feature/resources/dbscripts/mysql.sql#L105
>>>>>
>>>>> Thank you.
>>>>> Naduni
>>>>>
>>>>> --
>>>>> *Naduni Pamudika*
>>>>> Software Engineer | WSO2
>>>>> Mobile: +94 719 143658 <+94%2071%20914%203658>
>>>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Indunil Upeksha Rathnayake
>>>> Software Engineer | WSO2 Inc
>>>> Email    indu...@wso2.com
>>>> Mobile   0772182255
>>>>
>>>
>>>
>>>
>>> --
>>> Nuwan Dias
>>>
>>> Software Architect - WSO2, Inc. http://wso2.com
>>> email : nuw...@wso2.com
>>> Phone : +94 777 775 729 <+94%2077%20777%205729>
>>>
>>
>>
>>
>> --
>>
>> *Isura Dilhara Karunaratne*
>> Senior Software Engineer | WSO2
>> Email: is...@wso2.com
>> Mob : +94 772 254 810 <+94%2077%20225%204810>
>> Blog : http://isurad.blogspot.com/
>>
>>
>>
>>
>
>
> --
> *Naduni Pamudika*
> Software Engineer | WSO2
> Mobile: +94 719 143658 <+94%2071%20914%203658>
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>



-- 
Maduranga Siriwardena
Senior Software Engineer
WSO2 Inc; http://wso2.com/

Email: madura...@wso2.com
Mobile: +94718990591
Blog: *https://madurangasiriwardena.wordpress.com/
<https://madurangasiriwardena.wordpress.com/>*
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to