# |
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 |
# |
Jul 24th 2017, 07:55 |
birdy247 |
Out of interest, why the change from hybrid auth to social auth? |
# |
Jul 24th 2017, 07:55 |
birdy247 |
cool |
# |
Jul 24th 2017, 07:55 |
admad |
the access_token will get filled whenever user logs in next time, won't be a problem even if its empty initially |
# |
Jul 24th 2017, 07:54 |
birdy247 |
Just wondered if anyone had already done this |
# |
Jul 24th 2017, 07:54 |
birdy247 |
I agree |
# |
Jul 24th 2017, 07:54 |
birdy247 |
obviously not |
# |
Jul 24th 2017, 07:53 |
neon1024 |
I bet it’s nothing that a quick shell couldn’t fix |
# |
Jul 24th 2017, 07:52 |
neon1024 |
If you don’t start you’ll never finish. |
# |
Jul 24th 2017, 07:52 |
neon1024 |
Don’t do the changes on the live then! |
# |
Jul 24th 2017, 07:52 |
birdy247 |
I want to make sure they can still login :+1: |
# |
Jul 24th 2017, 07:52 |
birdy247 |
I have 3500 social profiles |
# |
Jul 24th 2017, 07:52 |
neon1024 |
https://www.youtube.com/watch?v=l1YmS_VDvMY |
# |
Jul 24th 2017, 07:52 |
birdy247 |
:slightly_smiling_face: |
# |
Jul 24th 2017, 07:51 |
neon1024 |
#procrastination |
# |
Jul 24th 2017, 07:51 |
birdy247 |
There is no access_token in the hybrid auth for example |
# |
Jul 24th 2017, 07:50 |
birdy247 |
Yea, but shoudl my existing social_profiles work ok? |
# |
Jul 24th 2017, 07:50 |
admad |
well the migration process is compare and make required changes :slightly_smiling_face: |
# |
Jul 24th 2017, 07:49 |
birdy247 |
anyone? |
# |
Jul 24th 2017, 07:41 |
birdy247 |
I notice the social_profiles are quite different |
# |
Jul 24th 2017, 07:40 |
birdy247 |
I am wondering about the migration process |
# |
Jul 24th 2017, 07:38 |
birdy247 |
I currently use you cakephp hybrid auth |
# |
Jul 24th 2017, 07:38 |
birdy247 |
@admad I am thinking of using your new social-auth plugin |
# |
Jul 24th 2017, 07:38 |
birdy247 |
Morning neon1024 |