# |
May 26th 2016, 14:08 |
admad |
read the readme of my plugin :slightly_smiling_face: |
# |
May 26th 2016, 14:08 |
bravo-kernel |
@admad: created first I assume? |
# |
May 26th 2016, 14:08 |
admad |
@bravo-kernel: A "normal" user record is always created. The associated social profile is only used for authentication |
# |
May 26th 2016, 14:05 |
Eax |
bravo-kernel: RIght :) Wilco |
# |
May 26th 2016, 14:05 |
bravo-kernel |
feel free to PR ;) |
# |
May 26th 2016, 14:05 |
bravo-kernel |
EAX the readme only surely |
# |
May 26th 2016, 14:04 |
bravo-kernel |
maybe rephrased: is it used only for auth and not user registration? |
# |
May 26th 2016, 14:03 |
bravo-kernel |
e.g. for when Facebook account gets deleted |
# |
May 26th 2016, 14:03 |
bravo-kernel |
do you guys create separate user records or not |
# |
May 26th 2016, 14:02 |
bravo-kernel |
What logic is behind hybrid as far as user ids go? |
# |
May 26th 2016, 14:02 |
Eax |
admad : There's an error in the config of your hybridauth :) You switched facebook-application-id and google-client-id |
# |
May 26th 2016, 14:02 |
hmic |
Eax, have you checked your cookie config? |
# |
May 26th 2016, 13:59 |
Eax |
And even more interesting: https://gist.github.com/eaxexe/2229467d771aa046ab553775643de9b7 - Going between setCookie and readCookie (from set to read), no cookie :S |
# |
May 26th 2016, 13:57 |
nemmons |
:-) |
# |
May 26th 2016, 13:57 |
admad |
@nemmons: That's the intention |
# |
May 26th 2016, 13:57 |
Eax |
(So they don't have to click "login" time and fucking again) |
# |
May 26th 2016, 13:57 |
Eax |
Does it handle fucking cookies? |
# |
May 26th 2016, 13:57 |
Eax |
BUT! |
# |
May 26th 2016, 13:56 |
nemmons |
your avatar makes me nervous sometimes haha |
# |
May 26th 2016, 13:56 |
Eax |
Uuhu! That seems interesting thanks :) |
# |
May 26th 2016, 13:56 |
admad |
:P |
# |
May 26th 2016, 13:56 |
nemmons |
rats. too slow. |
# |
May 26th 2016, 13:56 |
nemmons |
ah, i see Eax. Have you looked at https://github.com/ADmad/CakePHP-HybridAuth? |
# |
May 26th 2016, 13:56 |
slackebot |
~tell eax about hybridauth |
# |
May 26th 2016, 13:56 |
slackebot |
Command sent from Slack by admad: |
# |
May 26th 2016, 13:55 |
saliak |
Iâ??m getting the error â??Call to undefined function App\Test\TestCase\Shell\assertTextContains()â? in a test case in a Shell. im using the Cake\TestSuite\TestCase namespace in my test. any ideas what could be going on? |
# |
May 26th 2016, 13:55 |
Eax |
nemmons: I'm using most of it? :) For why I'm not using the Form Auth - I'm using facebook to auth , so the moment I have identified a user from their facebook ID, I can just setUser($user) |
# |
May 26th 2016, 13:52 |
hmic |
because he likes the pain :p |
# |
May 26th 2016, 13:52 |
nemmons |
out of curiousity, why aren't you just using cakephp's built-in auth? |
# |
May 26th 2016, 13:48 |
Eax |
hmic : Haven't made it into a custom auth (yet) but my cookie issue remains :/ |
# |
May 26th 2016, 13:34 |
nemmons |
if someone is good with associations using custom finders in 3.x i'd appreciate a little insight here. I'm not sure if what i want to do is actually possible using 3.x's custom finders. In 2.x i defined the association using a raw SQL query. https://gist.github.com/nemmons/80075ad94519995a73513a321a69b341 is a brief overview of what i'm trying to do and what i did in 2.x |
# |
May 26th 2016, 13:33 |
Eax |
Duly noted thanks! :) |
# |
May 26th 2016, 13:31 |
hmic |
by all means, yes! |
# |
May 26th 2016, 13:31 |
hmic |
do a custom auth to check and allow users by your cookie |
# |
May 26th 2016, 13:31 |
Eax |
Like make a custom auth for it, or? |
# |
May 26th 2016, 13:31 |
hmic |
this is pretty much shit, the checking should go into the auth, not the controller |
# |
May 26th 2016, 13:31 |
Eax |
Lemme try killing it |
# |
May 26th 2016, 13:31 |
Eax |
hmic hmm good point |
# |
May 26th 2016, 13:30 |
hmic |
Eax, you've got an exit, this might prevent the cookie from beeing set at all or every other thing break |
# |
May 26th 2016, 13:29 |
fquffio |
fgarcia: yes, it has, plus it did not meet my needs, but I found it a very good source to be inspired from. :slightly_smiling_face: |
# |
May 26th 2016, 13:28 |
Eax |
hmic: Never! Need it solved :p |