Re: [Architecture] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Farasath Ahamed
Farasath Ahamed Software Engineer, WSO2 Inc.; http://wso2.com Mobile: +94777603866 Blog: blog.farazath.com Twitter: @farazath619 On Fri, Nov 17, 2017 at 6:48 PM, Johann Nallathamby wrote: > > > On Fri, Nov 17, 2017

Re: [Architecture] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Johann Nallathamby
On Fri, Nov 17, 2017 at 6:39 PM, Malithi Edirisinghe wrote: > > > On Fri, Nov 17, 2017 at 6:12 PM, Johann Nallathamby > wrote: > >> Hi Farasath, >> >> On Fri, Nov 17, 2017 at 5:35 PM, Farasath Ahamed >> wrote: >> >>> >>> On Fri, Nov 17,

Re: [Architecture] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Malithi Edirisinghe
On Fri, Nov 17, 2017 at 6:12 PM, Johann Nallathamby wrote: > Hi Farasath, > > On Fri, Nov 17, 2017 at 5:35 PM, Farasath Ahamed > wrote: > >> >> On Fri, Nov 17, 2017 at 3:23 PM, Johann Nallathamby >> wrote: >> >>> Self contained JWT's may

Re: [Architecture] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Johann Nallathamby
Hi Farasath, On Fri, Nov 17, 2017 at 5:35 PM, Farasath Ahamed wrote: > > On Fri, Nov 17, 2017 at 3:23 PM, Johann Nallathamby > wrote: > >> Self contained JWT's may get quite large and if we set it as the default >> size in the script, for users who are not

Re: [Architecture] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Farasath Ahamed
On Fri, Nov 17, 2017 at 3:23 PM, Johann Nallathamby wrote: > Self contained JWT's may get quite large and if we set it as the default > size in the script, for users who are not using self contained JWT also it > is going to consume large space in the database. > > Did we think

Re: [Architecture] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Johann Nallathamby
Self contained JWT's may get quite large and if we set it as the default size in the script, for users who are not using self contained JWT also it is going to consume large space in the database. Did we think about storing a hash of the access token? On Fri, Nov 17, 2017 at 3:06 PM, Isura

Re: [Architecture] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Isura Karunaratne
On Fri, Nov 17, 2017 at 1:35 PM, Isura Karunaratne wrote: > Hi all, > > Currently, ACCESS_TOKEN column length is defined as 512 [1] which is not > enough to store self-contained access token [2]. > > Shall we increase the column size by default? > > Thanks > Isura. > > > [1] >

[Architecture] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Isura Karunaratne
Hi all, Currently, ACCESS_TOKEN column length is defined as 512 [1] which is not enough to store self-contained access token [2]. Shall we increase the column size by default? Thanks Isura. [1] CREATE TABLE IF NOT EXISTS IDN_OAUTH2_ACCESS_TOKEN ( TOKEN_ID VARCHAR (255),