# |
Dec 19th 2017, 20:57 |
dereuromark |
it should point to the own login with redirect query string |
# |
Dec 19th 2017, 20:57 |
dereuromark |
the callback action is implemented wrong |
# |
Dec 19th 2017, 20:56 |
birdy247 |
I dont follow |
# |
Dec 19th 2017, 20:56 |
dereuromark |
as long as the query string is encoded properly |
# |
Dec 19th 2017, 20:56 |
dereuromark |
its nested basically |
# |
Dec 19th 2017, 20:56 |
dereuromark |
redirect=ownsite?redirect?... |
# |
Dec 19th 2017, 20:55 |
dereuromark |
well, that was never how it should be :slightly_smiling_face: |
# |
Dec 19th 2017, 20:55 |
birdy247 |
https://www.domain.com/hybrid-auth/endpoint?redirect=%2Fenter-race%2F816%23anchorandhauth_done=Facebook |
# |
Dec 19th 2017, 20:55 |
birdy247 |
i.e. this used to be my redirect uri |
# |
Dec 19th 2017, 20:54 |
birdy247 |
others will not be allowed |
# |
Dec 19th 2017, 20:54 |
birdy247 |
the redirect url has to be set in advance |
# |
Dec 19th 2017, 20:54 |
birdy247 |
but that wont work now will it? |
# |
Dec 19th 2017, 20:53 |
dereuromark |
that has never changed afaik |
# |
Dec 19th 2017, 20:53 |
dereuromark |
no, it should always return back to the login which then redirects via query string |
# |
Dec 19th 2017, 20:53 |
birdy247 |
I guess now we will have to store this in a session or something? |
# |
Dec 19th 2017, 20:53 |
birdy247 |
at the moment I used the cakephp redirect query string to direct the user to where they wanted to go after the are redirected from the provider |
# |
Dec 19th 2017, 20:52 |
birdy247 |
it will become mandatory to turn on strict mode |
# |
Dec 19th 2017, 20:52 |
birdy247 |
Note: Turning on Strict Mode will invalidate any calls from URIs not listed in the Valid OAuth Redirct URI |
# |
Dec 19th 2017, 20:51 |
dereuromark |
hybrid auth has some issues, so I would also like to change at some point to social auth |
# |
Dec 19th 2017, 20:51 |
dereuromark |
whats the change? |
# |
Dec 19th 2017, 20:50 |
birdy247 |
the redirect uri must be fixed |
# |
Dec 19th 2017, 20:50 |
birdy247 |
facebook just announced a change |
# |
Dec 19th 2017, 20:50 |
birdy247 |
same |
# |
Dec 19th 2017, 20:48 |
dereuromark |
I still use the old one |
# |
Dec 19th 2017, 20:46 |
birdy247 |
is anyone using the social auth plugin |
# |
Dec 19th 2017, 20:41 |
birdy247 |
evening |
# |
Dec 19th 2017, 19:38 |
joop |
i got it i tried to save to the same Entity insed of a new one |
# |
Dec 19th 2017, 19:00 |
joop |
i dont understand why this load with the last Review entity |
# |
Dec 19th 2017, 19:00 |
joop |
i tried $Reviews[$index] = $Review; |
# |
Dec 19th 2017, 18:59 |
joop |
but after all the patchEntities variable contans only the same (LAST)Entity |
# |
Dec 19th 2017, 18:58 |
joop |
i try to itarete on a PatchEntities with foreach to append some datas |
# |
Dec 19th 2017, 18:25 |
devito |
hello all, Does anyone have an example of how to use a entity method as a validation rule? |
# |
Dec 19th 2017, 18:05 |
inoas |
laughing out loud debug mode ... nc ... my brain |
# |
Dec 19th 2017, 18:01 |
inoas |
can U use cakephp's "Cache" class to use apcu to cache in memory data between multiple requests? |
# |
Dec 19th 2017, 16:47 |
neon1024 |
Sorry @dereuromark I’ve run out of time and patience with it. I’ve submitted the changes which make the tests fail. I’ll see if I can fix it tomorrow. For some reason the App::className return changes sometimes, and I’ve no idea how or why |
# |
Dec 19th 2017, 16:33 |
neon1024 |
Time for a debug_backtrace I guess :( |
# |
Dec 19th 2017, 16:33 |
neon1024 |
Yeah I’ve no idea why the calling context is wrong, but when you var-dump inside App::className it’s correct |
# |
Dec 19th 2017, 16:23 |
neon1024 |
Strange as when you dump it directly in the App::className method it’s getting the right class |
# |
Dec 19th 2017, 16:15 |
neon1024 |
File uploaded https://cakesf.slack.com/files/U1BT622HW/F8GUG77B6/-.txt / https://slack-files.com/T053DPNCM-F8GUG77B6-a2cb1ca240 |
# |
Dec 19th 2017, 16:15 |
neon1024 |
As the App:className actually just returns the same string as input |
# |
Dec 19th 2017, 16:15 |
neon1024 |
I think you’re right, the issue seems to actually be much further up the code chain here, https://github.com/dereuromark/cakephp-ide-helper/blob/master/src/Annotator/ModelAnnotator.php#L118 |