envoyproxy / envoyproxy/gateway

Restrict Login Email with Google OAuth2.0 to Specific Domain Name

Open
#3,334 5 comments 0 reactions 0 assignees View on GitHub
stale triage
Dominant language
Go
Stars
3k
Forks
864
Avg merge
2d 2h
Merged PRs (30d)
140

Description

*Description*:
Hi,

It would be nice to have domain restrictions like [hd](https://developers.google.com/identity/openid-connect/openid-connect#hd-param), when using [SecurityPolicy](https://gateway.envoyproxy.io/v1.0.1/tasks/security/oidc/), or please let me know how to do it in the current setup.

For now situation is like this: after enabling OIDC with Google OAuth 2.0 Client IDs, it allows all gmail accounts to login, not only your organization domain.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.