Welcome Guest, Not a member yet? Register   Sign In
EE Authentication
#1

[eluser]emorling[/eluser]
Are there any libraries for using EE authenticationin CI? Thanks
#2

[eluser]Vheissu[/eluser]
Considering EE (well version 2) is built on-top of Codeigniter, you could easily use it in CI. I've been meaning to try this myself actually.
#3

[eluser]emorling[/eluser]
Great! So how do I detect if a user has logged into EE from a CI controller?
#4

[eluser]Mat-Moo[/eluser]
You could write hooks into EE (Login/logoff) to set your own logged in session vars, then check those? Depends what you mean by authentication though, do you want your own login forms etc.?
#5

[eluser]emorling[/eluser]
Sorry for being unclear. I want to run a seperate CI installation from an EE installation. So I want my own login forms etc. Also if you are logged in to the EE site you should ofc also be to the CI site.
#6

[eluser]Eric Barnes[/eluser]
To do that you either have to build your own login routine that matches the same cookies/sessions as EE or use hooks with EE and set your login cookies/sessions when they login via the EE side. More than likely you would be better off just converting whatever you are building into an EE plugin/module.




Theme © iAndrew 2016 - Forum software by © MyBB