Log message #4056058

# At Username Text
# Jul 24th 2017, 09:01 alexdd55 is there a way to workaround that?
# Jul 24th 2017, 09:01 cleptric We had some BC breaks before, so that’s the reason we pinned it to this release
# Jul 24th 2017, 09:00 alexdd55 i can not even kick out migrations
# Jul 24th 2017, 09:00 cleptric True! Totally forgot about that
# Jul 24th 2017, 08:59 alexdd55 @cleptric haha.. i would do so, if it would be possible.. phinx isnot in the composer json, its a relation that has a hardcoded version number in cakephp migrations
# Jul 24th 2017, 08:56 cleptric And then run `composer update` :;)
# Jul 24th 2017, 08:56 cleptric Or change the version constraint in your `composer.json`
# Jul 24th 2017, 08:56 cleptric `composer update`
# Jul 24th 2017, 08:56 alexdd55 can anyone tell me, how to update phinx to a current version via composer? our admin is complainng, that the version is outdated
# Jul 24th 2017, 08:55 sonu_nk https://github.com/cakephp/authentication this plugin also says same which you suggest
# Jul 24th 2017, 08:53 sonu_nk admad should i go with middleware ?
# Jul 24th 2017, 08:52 sonu_nk right ?
# Jul 24th 2017, 08:52 sonu_nk hmic, i remember you suggest me to use Middleware
# Jul 24th 2017, 08:38 admad depends on how you want your auth mechanism to work
# Jul 24th 2017, 08:38 sonu_nk sorry wrong line pasted to you please ignore that...
# Jul 24th 2017, 08:37 sonu_nk ok.. so after key verify i need to do email password fetch from db and then verify or not ?
# Jul 24th 2017, 08:37 admad your question is same as asking "why should i follow cake's class structure when i can just write spaghetti code"
# Jul 24th 2017, 08:36 admad because it's still authentication and that's what the auth component and it's authenticate adapters are for
# Jul 24th 2017, 08:35 sonu_nk sugestion are welcome
# Jul 24th 2017, 08:35 sonu_nk i agree with you.. but why i need to create auth mechanism when i am only authorizing api key ..and returning json to user.,. please do not make it wrong.. i just trying to understand...
# Jul 24th 2017, 08:34 admad you can make a custom autheticator class for authcomponent
# Jul 24th 2017, 08:33 admad WP isn't something you should be using as reference to do something right :slightly_smiling_face:
# Jul 24th 2017, 08:29 sonu_nk more explore.. i have a wordpress plugin which require api key and it wordpress plugin will get some json data from my server after api key verify..
# Jul 24th 2017, 08:28 neon1024 Yes, agreed. Top tip!
# Jul 24th 2017, 08:28 sonu_nk from my client end i am sending api key to verify on my server .and then i will send them json. so i dont know i can use Auth .. or i am wrong somewhere
# Jul 24th 2017, 08:28 hmic additionally, create a prefix with it's own Controllers of course (and AppController with Auth setup...)
# Jul 24th 2017, 08:26 neon1024 That’s what I did for my api authentication :slightly_smiling_face:
# Jul 24th 2017, 08:25 hmic even if you have something custom already, it's easy to create a CustomAuthenticate class
# Jul 24th 2017, 08:25 hmic there is JWTAuth e.g.
# Jul 24th 2017, 08:24 hmic sonu_nk, why not use Auth like usal?
# Jul 24th 2017, 08:22 sonu_nk means wher i can call it
# Jul 24th 2017, 08:21 sonu_nk so where i can define it ? in AppController 's initialize() method or i need to create a constructor for this ?
# Jul 24th 2017, 08:20 sonu_nk i am working on api.. i want to verify the key so that i can see which user come and if he is with right key.. so to do this i created a verify_key() method.. i want to call it automatically when api will call..
# Jul 24th 2017, 08:18 sonu_nk sorry got.. :) thanz
# Jul 24th 2017, 08:16 sonu_nk can i add multiple $routes->resources('Websites'); like this in routes.php ?
# Jul 24th 2017, 07:59 birdy247 this is what prompted me to look at your repo
# Jul 24th 2017, 07:59 birdy247 I mean errors in te logs related to hybird auth
# Jul 24th 2017, 07:59 birdy247 Yes, so do I :)
# Jul 24th 2017, 07:59 admad i often get issues on my repo due to problems in hybridauth itself. I don't want to deal with that
# Jul 24th 2017, 07:58 admad it's 2.x code base is a mess
# Jul 24th 2017, 07:57 admad hybrid auth is very flaky