1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-04-02 22:25:30 +02:00
D. Spindel 51f4d88028
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: D.S. Ljungmark <ljungmark@modio.se>

Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
2020-02-29 17:38:32 +00:00
..
2019-05-09 10:48:35 +01:00
2019-10-30 09:57:24 +00:00
2019-10-30 10:04:29 +00:00
2019-05-09 10:48:35 +01:00
2019-10-30 10:04:29 +00:00
2019-10-29 17:27:08 +00:00
2020-01-15 11:09:34 +00:00
2020-01-24 17:54:13 +00:00
2019-08-11 16:07:03 +01:00
2019-05-09 10:48:35 +01:00
2019-05-09 10:48:35 +01:00

Docs

This folder contains our Jekyll based docs site which is hosted at https://pusher.github.io/oauth2_proxy.

When making changes to this docs site, please test your changes locally:

docs$ make serve

To run the docs site locally you will need Ruby at version 2.1.0 or higher and bundle (gem install bundler if you already have Ruby).