Part of the EllisLab Network
   
117 of 118
117
Ion Auth - Lightweight Auth System based on Redux Auth 2
Posted: 01 February 2012 01:39 PM   [ Ignore ]   [ # 1161 ]  
Summer Student
Avatar
Total Posts:  1
Joined  02-01-2012

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

Profile
 
 
Posted: 08 February 2012 05:04 AM   [ Ignore ]   [ # 1162 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  370
Joined  06-12-2009

@DavidMann: Encrypted database sessions sound like CodeIgniter sessions with the encryption flag set to TRUE. See: http://codeigniter.com/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. smile

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.

 Signature 

- Simon

Profile
 
 
Posted: 12 February 2012 10:20 AM   [ Ignore ]   [ # 1163 ]  
Summer Student
Total Posts:  6
Joined  03-04-2010

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?

Profile
 
 
Posted: 05 March 2012 08:30 AM   [ Ignore ]   [ # 1164 ]  
Summer Student
Avatar
Total Posts:  18
Joined  09-19-2010
mallcom - 12 February 2012 10:20 AM

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

Profile
 
 
Posted: 08 March 2012 06:53 AM   [ Ignore ]   [ # 1165 ]  
Summer Student
Total Posts:  1
Joined  03-08-2012

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

Profile
 
 
Posted: 08 March 2012 05:27 PM   [ Ignore ]   [ # 1166 ]  
Grad Student
Avatar
Rank
Total Posts:  65
Joined  01-11-2010

@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

 Signature 

PAMPSERVER64: http://www.pampserver.com/
NETBEANS 7: http://netbeans.org
MAXTHON 3: http://www.maxthon.com
Win7 64bits

Profile
 
 
Posted: 20 April 2012 02:17 AM   [ Ignore ]   [ # 1167 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  238
Joined  05-05-2009

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?

Profile
 
 
Posted: 22 April 2012 01:56 PM   [ Ignore ]   [ # 1168 ]  
Summer Student
Total Posts:  1
Joined  04-22-2012

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

Profile
 
 
Posted: 22 April 2012 02:24 PM   [ Ignore ]   [ # 1169 ]  
Summer Student
Avatar
Total Posts:  18
Joined  09-19-2010

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');

 

Profile
 
 
Posted: 28 April 2012 08:51 AM   [ Ignore ]   [ # 1170 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  238
Joined  05-05-2009

Question regarding passwords + security. My current config:

$config['hash_method''bcrypt';  
$config['default_rounds'8;  
$config['random_rounds'true;
$config['min_rounds'5;
$config['max_rounds'9

Generates passwords like this:

$2a$08$pMmzIomXsmPhl8CfXDx7ZebKxTID2We5Sr3tgBNkIw81vJSQfqll.
$
2a$09$tH2Z3gbGrhHaP8VDdD6bD.a5QEzfMxA41BrAsSmQtjkd8YWRqF9Sm
$2a$07$v0tBBmGO5Ym/AH4mjXikpeMdkHxi2C.W2FKcdP2Xxj12JWPRQ3z3W 


So is the $2a$08 saying that it is bcrypt - and to run 8 rounds on it? And $2a$09 is saying run 9 rounds?

Profile
 
 
   
117 of 118
117