CodeIgniter Forums
Ion Auth - Lightweight Auth System based on Redux Auth 2 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Ion Auth - Lightweight Auth System based on Redux Auth 2 (/showthread.php?tid=27435)



Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 09-24-2010

[eluser]Ben Edmunds[/eluser]
wortell,

You don't load the Ion Auth config or model, the library handles it. But because of that you have to check the config and model loading in the library to include your module name.


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 09-24-2010

[eluser]wortell[/eluser]
[quote author="Ben Edmunds" date="1285384606"]wortell,

You don't load the Ion Auth config or model, the library handles it. But because of that you have to check the config and model loading in the library to include your module name.[/quote]

without sounding over-presumptuous about me knowing what i'm doing, i feel i've got a good grip on modules, etc...

but...

point being... i'm not trying to load it up... (i don't think).

localhost/auth/ and it directs me to go to localhost/auth/login
then i get the pre-stated error...

am i missing something?

figured by going to /auth
is what i would need to do to login (obviously I'm wrong).

hmmm

assuming i am indeed using it incorrectly... does this mean i load the library and then call the view(login) when in the model?

sorry, just looking for SOME example on it... in use... thanks
and I've looked at pyrocms a lot as well...

thanks


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 09-27-2010

[eluser]bunal[/eluser]
Hi,

I've search the post but couldnt find an answer to these.

1.) How to assign a user to more than one group. If it is not builtin to library has any one implemented it?

2.) How to create one to many meta? For example multiple/unlimited telephones or twitter account usernames?

Thanks for this great lib!


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 09-28-2010

[eluser]carvingCode[/eluser]
[quote author="Ben Edmunds" date="1285384544"]carvingCode,

Looks like you're using the MS SQL file instead of the MySQL file. The MySQL file is named ion_auth.sql.[/quote]

doh... Thanks, Ben. ion_auth has performed very well on another app. Nice work!


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 09-29-2010

[eluser]bunal[/eluser]
Hi Ben,

Any thoughts on multiple group assignment and one to many meta (Details in previous post)

Thanks


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 09-29-2010

[eluser]wortell[/eluser]
[quote author="bunal" date="1285814742"]Hi Ben,

Any thoughts on multiple group assignment and one to many meta (Details in previous post)

Thanks[/quote]

was looking at this earlier today, and i think i would like to add another 'catch-all' meta table (aaaachooo! {like WordPress) Wink

EDIT:
actually, a serialized - base64'd array would work well too Smile - just stinks for full/partial text searches Smile


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 09-29-2010

[eluser]bunal[/eluser]
Yip the wordpress like architecture would be perfect. Text search is important in most cases thats why it make me bypass base64 approach before. Thanks


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 09-30-2010

[eluser]akzidenz[/eluser]
Hi everyone

I was playing around with the CI2, Modular Extensions and Ion Auth
This is what I did to get it working

1. Get tip_codeigniter.zip (CI2.0)
2. Extract, make sure it is running, set config.php
3. Get Modular Extension
http://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/wiki/Home
4. Install - Copy MY_Loader & MY_Router to core, MX to third party folder
Do not copy MY_Controller - this is for Modular Separation and not Extensions
5. Get Ion_Auth
http://github.com/benedmunds/CodeIgniter-Ion-Auth
6. Install the sql
7. Put ion_auth into a modules folder /application/modules/users
8. Add route
$route['auth/(.*)'] = 'users/auth/$1';
9. Autoload ion_auth
$autoload['libraries'] = array('database','session','users/ion_auth');
10. Edit paths
$this->ci->load->config('users/ion_auth', TRUE);
$this->ci->load->library('email');
$this->ci->load->library('session');
$this->ci->lang->load('users/ion_auth');
$this->ci->load->model('users/ion_auth_model');

Just in case anyone was trying... Smile


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 09-30-2010

[eluser]wortell[/eluser]
[quote author="akzidenz" date="1285857615"]Hi everyone

I was playing around with the CI2, Modular Extensions and Ion Auth
This is what I did to get it working

1. Get tip_codeigniter.zip (CI2.0)
2. Extract, make sure it is running, set config.php
3. Get Modular Extension
http://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/wiki/Home
4. Install - Copy MY_Loader & MY_Router to core, MX to third party folder
Do not copy MY_Controller - this is for Modular Separation and not Extensions
5. Get Ion_Auth
http://github.com/benedmunds/CodeIgniter-Ion-Auth
6. Install the sql
7. Put ion_auth into a modules folder /application/modules/users
8. Add route
$route['auth/(.*)'] = 'users/auth/$1';
9. Autoload ion_auth
$autoload['libraries'] = array('database','session','users/ion_auth');
10. Edit paths
$this->ci->load->config('users/ion_auth', TRUE);
$this->ci->load->library('email');
$this->ci->load->library('session');
$this->ci->lang->load('users/ion_auth');
$this->ci->load->model('users/ion_auth_model');

Just in case anyone was trying... Smile[/quote]

where the freakin' bloody he@%#@$ were you 6 days ago!!!! aaargh!
verbatim of what I did... but after a bit of monkeying around.

Thanks tho - seriously you summarized it well.

ONE MODIFICATION [on my installation]:
--------------------------------------
I did indeed use a MY_Controller.php to allow for the MS + E, but used it primarily to control Public/Admin Controllers using the DRY method by Phil S.

other than that... verbatim (+6 days of 'no joy' before that).


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 09-30-2010

[eluser]felyx[/eluser]
I got a very simple question. Ion Auth is very very good so far but the documentation says username email password additional data all required, what if i dont want to have username or additional data? Thank you for your hard work Ben anyways!