Project

General

Profile

Implementing an AuthSource subclass...How to respect onthefly_register?

Added by Evan Kaufman almost 14 years ago

I'm currently implementing an AuthSource subclass for Google's ClientLogin and it's all going very well so far.

The one thing I still don't understand is, if someone were to turn off onthefly_register (ie: set it to zero), how am I supposed to respect that? Should I check whether a user already exists in Redmine, before even trying to authenticate them with the remote source (in this case Google)? And if so, er...how would I actually do that?


Replies (1)

RE: Implementing an AuthSource subclass...How to respect onthefly_register? - Added by Felix Schäfer almost 14 years ago

IIRC you don't need to take that into account, it is only a hint to redmine if users existing in your auth_source should be added automatically as active or should only be added as waiting for administrator confirmation (or even maybe doesn't create the user in redmine, not sure). Anyway, have a look at Alternativecustom_authentication_HowTo for more info, or contact edavis10 on IRC.

    (1-1/1)