Topic on Extension talk:Email Authorization/Flow

Case sensitive email addresses

4
131.180.32.6 (talkcontribs)

Hello! I am using Email Authorization in conjunction with SimpleSAMLphp as the authorization and authentication of PluggableAuth.

A problem I am encountering is that the EmailAttribute returned by the authentication has capitalization. Combinations like A.B.Lastname@domain.com for example, or A.lastName@domain.com can all occur. But Email Authorization appears to i) be case sensitive and ii) trim and lowercase emails before adding them (as of v1.5).


Would it be possible to have Email Authorization not be case sensitive? Because I believe that email addresses are not, if I am not mistaken? Although maybe I am approaching this in the wrong way, maybe instead the SimpleSAMLphp extension should get rid of the capitalization in the attribute that is returned to it. Does that make more sense?

131.180.32.6 (talkcontribs)

I should have added. This is on MediaWiki 1.35.0, SimpleSamlPHP 4.5.2 , PluggableAuth 5.7 and Email Authorization 1.5.

Cindy.cicalese (talkcontribs)

Thank you for reporting this. I will try to take a look at it soon and will report back here once I have done so.

Cmthom (talkcontribs)

Is there a way to make email searches not case sensitive in 1.31.10? specifically worried about Special:PasswordReset

Reply to "Case sensitive email addresses"