Skip to content
Unverified Commit 51f4d880 authored by D. Spindel's avatar D. Spindel Committed by GitHub
Browse files

Add option to prefer an Email address to a Username (#401)



With some providers the Username is an upstream Unique ID, like fex. in the
case of Google.

When matching this with downstream databases, it's sometimes preferred to use
the email address as the  known identifier.

However, when _mixing_ this with sometimes other sources, like htaccess, which
doesn't have a concept of an email address, it can turn difficult.

This change makes the headers _prefer_ to use the Email address, if such exists,
for the Username identifier when passing data to downstream services.

Defaults to Off.

Signed-off-by: default avatarD.S. Ljungmark <ljungmark@modio.se>

Co-authored-by: default avatarJoel Speed <Joel.speed@hotmail.co.uk>
parent 0c7400a9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment