ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Ion Auth - Lightweight Auth System based on Redux Auth 2

February 10, 2010 7:00pm

Subscribe [287]
  • #1156 / Jan 06, 2012 1:36pm

    huy

    8 posts

    I had created a script to do all this, but I found a slight bug… Have to fix it and I’ll re-post the script after that.

    Waiting… and thankyou for sharing!

    Just to let you know, I posted it on stackoverflow.com.  Search for “Using Ion Auth as a seperate module in the HMVC structure”.

    It’s at the bottom.

    If I can find out how to post the script here, I will.  Until then, it’s over on SO.

    Please let me know if it works for you.

    Good Luck,
    Edmund

    Can you upload source to Mediafire and share for guys? ok, your comment really helpful for me, waiting full Source with Ion, HMVC, CI 2.1.0 !! Thank

  • #1157 / Jan 07, 2012 3:14am

    EC

    10 posts

    I had created a script to do all this, but I found a slight bug… Have to fix it and I’ll re-post the script after that.

    Waiting… and thankyou for sharing!

    Just to let you know, I posted it on stackoverflow.com.  Search for “Using Ion Auth as a seperate module in the HMVC structure”.

    It’s at the bottom.

    If I can find out how to post the script here, I will.  Until then, it’s over on SO.

    Please let me know if it works for you.

    Good Luck,
    Edmund

    Can you upload source to Mediafire and share for guys? ok, your comment really helpful for me, waiting full Source with Ion, HMVC, CI 2.1.0 !! Thank

    Hey,

    Here’s the link to the install script.  I think you will like it..
    Just run the script, maybe in an empty directory, and it will download the files and everything.

    Install Script Description:
    This will download and configure CodeIgniter 2 + Modular Extensions - HMVC 5.4 + Ion Auth 2

    http://dl.dropbox.com/u/50235158/install_hmvc_ion_auth.sh

    Please let me know here if it works for you.

    Edmund

     

  • #1158 / Jan 07, 2012 5:21am

    huy

    8 posts

    Just to let you know, I posted it on stackoverflow.com.  Search for “Using Ion Auth as a seperate module in the HMVC structure”.

    It’s at the bottom.

    If I can find out how to post the script here, I will.  Until then, it’s over on SO.

    Please let me know if it works for you.

    Good Luck,
    Edmund

    I dont know to use .sh file :( i use Windows7 OS and Vertrigo Server

    Can you upload source to Mediafire and share for guys? ok, your comment really helpful for me, waiting full Source with Ion, HMVC, CI 2.1.0 !! Thank

     

  • #1159 / Jan 07, 2012 5:44am

    victorche

    147 posts

    sh is a linux script. You can run it, if you are using linux at home. Or if your hosting is a linux machine (which is very possible) and you have a SSH access, then you can run this script directly in a directory on your hosting. This way the files will be downloaded directly to your hosting.
    I didn’t try it (as I don’t need it), but I guess this is the author’s idea…

  • #1160 / Jan 07, 2012 12:18pm

    losbananos

    1 posts

    Hello,

    I’m currently developing an application on my workstation.
    My implementation works ok.
    Now I’ve tried to create “a test environment” on my pc, which is basically a stable app version put into another folder in apache site directory, but the database connection is identical (for now).
    I’ve changed the config.php for CI (cookie names, base url) etc.

    $config[‘store_salt’] = false;

    When I try to login with user created with my “previous” application (that is in another directory, but still on localhost), I get message that he was not able to log in.
    When I try to login with admin default account - it works.

    I must be a bad developer - am I missing something?
    Do you have any clues or hints where to check for error?

    Thanks in advance for your response.

  • #1161 / Jan 19, 2012 6:20pm

    DavidMann

    2 posts

    Ben,

    I’m beginning to get a handle on your excellent library Ion_Auth and am implementing my own controller to suit my situation. Thanks for all your hard work.  Could you please point me in the direction of a tutorial or user guide for encrypted database sessions. I’m afraid I can’t figure out what that is.

  • #1162 / Feb 01, 2012 1:39pm

    maymoon

    1 posts

    Hey guys,
    Has anyone succeeded to implement captcha into ion_auth?

    I will be very grateful if someone would give me some tips in how to do that

    Thanks

  • #1163 / Feb 08, 2012 5:04am

    Maglok

    402 posts

    @DavidMann: Encrypted database sessions sound like CodeIgniter sessions with the encryption flag set to TRUE. See: http://ellislab.com/codeigniter/user-guide/libraries/sessions.html

    Its in config.php -> $config[‘sess_encrypt_cookie’] = FALSE;

    Anyhow! I do have a question. I really like Ion Auth and I am wondering if it would be hard to hook in the following: Google, Facebook, OpenID and possibly other authentication methods. 😊

    Obviously that is not a base thing, but it is something that makes users register quicker and more often in my experience and I want to stimulate that as much as possible.

  • #1164 / Feb 12, 2012 10:20am

    mallcom

    6 posts

    after updating the library the connection with the meta table is lost.
    Can someone point me in the right direction with this?

    I need to be able to fetch this data e.g. first_name last_name
    But also when creating a user somehow this join is lost.

    how can i restore this?

  • #1165 / Mar 05, 2012 8:30am

    rulin

    18 posts

    after updating the library the connection with the meta table is lost.
    Can someone point me in the right direction with this?

    I need to be able to fetch this data e.g. first_name last_name
    But also when creating a user somehow this join is lost.

    how can i restore this?

    The later releases of Ion_auth no longer use the META table.
    All columns from this table will now be held in the USERS table

  • #1166 / Mar 08, 2012 6:53am

    crendel

    1 posts

    hi,

    I’m not sure about right thread, so write here.
    I do need extend Ion_auth (library), that is located under the application/libraries. I tried to use standard approach: to make a php lib as MY_Ion_auth.php and class name MY_Ion_auth (located at the same place, under the application/libraries).
    But when i try to use it in controller, i get an error: “Unable to load the requested class: Ion_auth”. Seems, it’s not a right way.
    I also tried to use a call of library load as $this->load->library(‘MY_Ion_auth’), but it made a mess, as i need to change all the lines where ion_auth is used inside a controller.


    Is there some more elegant way to do this? Can someone assist with this issue?


    Vasily

  • #1167 / Mar 08, 2012 5:27pm

    rip_pit

    88 posts

    @crendel : sorry can’t help about that, maybe someone else will

    I would need some advice about a problem i had with my app, ion_auth and firefox
    It often log me out without asking then i sometimes must restart firefox to be able to login again
    Maybe someone has meet similar problem before ? I can’t say if it’s due to firefox only or due to a bad config (that i suspect)

    any suggestion is welcome

    I use the latest downloadable ion_auth version from repository and the latest codeigniter v2x
    firefox 10, xp, wamp

  • #1168 / Apr 20, 2012 3:17am

    theshiftexchange

    211 posts

    question: has anyone here created a brute_force plugin for Ion Auth? i.e. if user X has Y login attempts, then lock the account and send them an email to unlock?

  • #1169 / Apr 22, 2012 2:56pm

    callidus

    1 posts

    I have a bit of a newb question. I installed ion auth but when i navigate to codeigniter on local host, im still seeing the code igniter welcome page

  • #1170 / Apr 22, 2012 3:24pm

    rulin

    18 posts

    Hi Callidus

    You’ll need to add (as a minimum) the following code to your controller

    $this->load->library('ion_auth');

    and

    if (!$this->ion_auth->logged_in())
    {
    //redirect them to the login page
    redirect('auth/login', 'refresh');
    }

     

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases