On Thu, Jun 22, 2017 at 3:44 PM, Bhathiya Jayasekara <[email protected]>
wrote:

> I think the problem is we have sent the list as comma-separated list. Due
> to that IS may think that's a single scope.
>
Yes, only space should be use to separate scops.

-Ishara

>
> @Naduni: Please try again with space separated list, and update if it
> works.
>
> Thanks,
> Bhathiya
>
> On Thu, Jun 22, 2017 at 3:37 PM, Maduranga Siriwardena <[email protected]
> > wrote:
>
>> 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/m
>> aster/features/identity-core/org.wso2.carbon.identity.core.s
>> erver.feature/resources/dbscripts/mysql.sql#L105
>>
>> Thanks,
>>
>> On Thu, Jun 22, 2017 at 12:53 PM, Naduni Pamudika <[email protected]>
>> wrote:
>>
>>> Thanks a lot Indunil.
>>>
>>> On Thu, Jun 22, 2017 at 12:38 PM, Isura Karunaratne <[email protected]>
>>> wrote:
>>>
>>>>
>>>> On Thu, Jun 22, 2017 at 12:21 PM, Nuwan Dias <[email protected]> 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 <
>>>>> [email protected]> 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 <[email protected]>
>>>>>> 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    [email protected]
>>>>>> Mobile   0772182255 <077%20218%202255>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Nuwan Dias
>>>>>
>>>>> Software Architect - WSO2, Inc. http://wso2.com
>>>>> email : [email protected]
>>>>> Phone : +94 777 775 729 <+94%2077%20777%205729>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Isura Dilhara Karunaratne*
>>>> Senior Software Engineer | WSO2
>>>> Email: [email protected]
>>>> 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: [email protected]
>> Mobile: +94718990591 <071%20899%200591>
>> Blog: *https://madurangasiriwardena.wordpress.com/
>> <https://madurangasiriwardena.wordpress.com/>*
>> <http://wso2.com/signature>
>>
>
>
>
> --
> *Bhathiya Jayasekara*
> *Associate Technical Lead,*
> *WSO2 inc., http://wso2.com <http://wso2.com>*
>
> *Phone: +94715478185 <+94%2071%20547%208185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> <http://www.linkedin.com/in/bhathiyaj>*
> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
> *Blog: http://movingaheadblog.blogspot.com
> <http://movingaheadblog.blogspot.com/>*
>



-- 
Ishara Karunarathna
Associate Technical Lead
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: [email protected],   blog: isharaaruna.blogspot.com,   mobile:
+94717996791
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to