[TYPO3] External FE Auth

ries van Twisk typo3 at rvt.dds.nl
Thu Nov 29 15:12:50 CET 2007


On Nov 29, 2007, at 9:00 AM, Dmitry Dulepov [typo3] wrote:

> Hi!
>
> Nino Katic wrote:
>> I want to authenticate FE users from some external DB. There is  
>> extension
>> for this but i don't want it to create FE users in Typo3 db. So my  
>> question
>> would be - is it possible to authenticate FE users without them  
>> being in
>> typo fe_users table? I saw couple of FE auth. extensions working  
>> similar -
>> they first check if user exists in external repository and if auth  
>> passes
>> they create user in typo fe_users table. I don't see a need for  
>> duplicating
>> user data again in Typo3 db but maybe it's a must ? Thx.
>
> <rant>Are you talking about "typo" (http://typosphere.org/) or TYPO3(http://typo3.org/)? 
>  These are different things. Just like Nino and Nano are different.</ 
> rant>
>
> I think they create users because many extensions rely on user  
> existence in these tables. Many extensions will be broken if user is  
> authenticated but does not exist in database.
>

in fact i think typo3 will not work correctly if the fe_users/ 
fe_groups table are empty.

best thing you can do is define your primary key and create users and  
groups on the fly
during authentication process.

After users/groups are created (specially groups) then page access  
also will work properly.
So bottom line is, you HAVE to have a fe_users/fe_groups table to let  
TYPO3 work properly
if a user is logged on.


I would stay away from DBAL with fe_user/fe_group table mapping, but  
some DBAL guru
might beable to tell you how that works.


Ries







--
Ries van Twisk
Freelance TYPO3 Developer
email: ries at vantwisk.nl
web:   http://www.rvantwisk.nl/
skype: callto://r.vantwisk
Phone: + 1 810-476-4193









More information about the TYPO3-english mailing list