# |
Feb 17th 2020, 13:42 |
md.islam11 |
how to achieve this? |
# |
Feb 17th 2020, 13:42 |
md.islam11 |
can you please help me with an example. |
# |
Feb 17th 2020, 13:41 |
dereuromark |
thats not an entity virtual field |
# |
Feb 17th 2020, 13:41 |
md.islam11 |
```->select(['id','tp','type'])``` |
# |
Feb 17th 2020, 13:40 |
md.islam11 |
when i try to select 'tp' in Cakephp orm. it shows column not in field list. |
# |
Feb 17th 2020, 13:40 |
dereuromark |
How are you accessing it? |
# |
Feb 17th 2020, 13:40 |
md.islam11 |
```protected function _getTp() { return 'TP'; }``` |
# |
Feb 17th 2020, 13:39 |
md.islam11 |
mutator is not working |
# |
Feb 17th 2020, 13:39 |
md.islam11 |
Hello |
# |
Feb 17th 2020, 12:26 |
spriz |
will bookmark that article and read it later |
# |
Feb 17th 2020, 12:26 |
spriz |
it was such simple |
# |
Feb 17th 2020, 12:26 |
spriz |
so TLDR - we should not be using JWT anymore? :( |
# |
Feb 17th 2020, 11:28 |
neon1024 |
Anyway, they’ve had their time, the fad is over now |
# |
Feb 17th 2020, 11:27 |
dereuromark |
apart from that it sure has its use cases indeed. |
# |
Feb 17th 2020, 11:26 |
dereuromark |
"JWT isn’t supposed to be secure" That is true, thus it probably shouldnt be used in Auth context in the first place :) |
# |
Feb 17th 2020, 11:26 |
neon1024 |
I’m not throwing shade at JWT |
# |
Feb 17th 2020, 11:26 |
neon1024 |
It’s their use which is the issue. People misunderstand, that’s all |
# |
Feb 17th 2020, 11:26 |
neon1024 |
I was replying to dereuromark |
# |
Feb 17th 2020, 11:26 |
neon1024 |
It has context. |
# |
Feb 17th 2020, 11:25 |
neon1024 |
Wow, chill. |
# |
Feb 17th 2020, 11:25 |
admad |
Exactly, so you statement about JWT holds no value |
# |
Feb 17th 2020, 11:24 |
neon1024 |
You might claim the same for anything |
# |
Feb 17th 2020, 11:24 |
admad |
@neon1024 PHP too isn't too secure if used incorrectly :) |
# |
Feb 17th 2020, 10:46 |
Martin` |
hi :D |
# |
Feb 17th 2020, 10:46 |
conehead |
yes |
# |
Feb 17th 2020, 10:37 |
cakephp183 |
? |
# |
Feb 17th 2020, 10:37 |
cakephp183 |
there/ |
# |
Feb 17th 2020, 10:36 |
cakephp183 |
hello |
# |
Feb 17th 2020, 10:36 |
cakephp183 |
hi |
# |
Feb 17th 2020, 10:11 |
dereuromark |
The readme could also outline this fact a bit more clear, make a PR here. |
# |
Feb 17th 2020, 10:10 |
challgren |
https://github.com/ADmad/cakephp-jwt-auth/issues/86#issuecomment-568723955 Looks like it wont be upgraded to 4 |
# |
Feb 17th 2020, 10:09 |
dereuromark |
Technically, though, they are both not suitable for stateless session management - https://github.com/ADmad/cakephp-jwt-auth/issues/85 The md5 version of password hashing :P |
# |
Feb 17th 2020, 10:09 |
neon1024 |
JWT isn’t supposed to be secure |
# |
Feb 17th 2020, 10:08 |
dereuromark |
if you are using it for auth, you might want to look into Paseto instead (supposed to be secure, compared to jwt) |
# |
Feb 17th 2020, 10:07 |
challgren |
https://book.cakephp.org/authentication/2/en/identifiers.html#jwt-subject |
# |
Feb 17th 2020, 10:06 |
challgren |
I think JWT is in the authentication plugin |
# |
Feb 17th 2020, 10:00 |
spriz |
Great chance to upgrade it :tada: |
# |
Feb 17th 2020, 10:00 |
spriz |
Does not seem like it @peppejaripappalardo ;) https://github.com/FriendsOfCake/awesome-cakephp#authentication-and-authorization |
# |
Feb 17th 2020, 09:47 |
challgren |
I think namespaceSplit(string $class) |
# |
Feb 17th 2020, 09:41 |
val |
Hi, function is used to get the class name stripping the namespace in 3.x? |
# |
Feb 17th 2020, 09:41 |
peppejaripappalardo |
Hello to everybody, someone know if cakephp 4 support the plugin admad jwt? |