Skip to content

sso-auth: add support for individual e-mail address authentication #32

@starcraft66

Description

@starcraft66

Is your feature request related to a problem? Please describe.
Currently, it is only possible to whitelist an entire domain of addresses, which is convenient for organizations, however it is not so convenient for single users wishing to authenticate oAuth on a public domain such as gmail.com.

Describe the solution you'd like
It would be nice if there was a configuration option to specify a list of individual e-mail addresses to whitelist, or a path to a file containing a list of emails to whitelist, in addition to optionally also specifying whitelisted domain(s).

Describe alternatives you've considered
I haven't considered any alternatives whitelisting methods because Google is the only oAuth provider currently supported.

Additional context
This feature was already available in oauth2_proxy via the "authenticated-emails-file" command-line flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions