Skip to content

Commit 15efc01

Browse files
author
devdavidkarlsson
authored
docs: Added google oidc example to readme (#234)
1 parent d5036c6 commit 15efc01

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,22 @@ alb_authenticate_oidc = {
165165

166166
Read more in [this post](https://medium.com/swlh/aws-alb-authentication-with-okta-oidc-using-terraform-902cd8289db4)
167167

168+
##### Google
169+
170+
```hcl
171+
alb_authenticate_oidc = {
172+
issuer = "https://accounts.google.com"
173+
token_endpoint = "https://oauth2.googleapis.com/token"
174+
user_info_endpoint = "https://openidconnect.googleapis.com/v1/userinfo"
175+
authorization_endpoint = "https://accounts.google.com/o/oauth2/v2/auth"
176+
authentication_request_extra_params = {}
177+
client_id = "google_client_id"
178+
client_secret = "google_client_secret"
179+
}
180+
```
181+
182+
Note: remember to set your google consent screen to internal to only allow users from your own domain.
183+
168184
#### AWS Cognito with SAML
169185

170186
The AWS Cognito service allows you to define SAML applications tied to an identity provider (e.g., GSuite). The Atlantis ALB can then be configured to require an authenticated user managed by your identity provider.

0 commit comments

Comments
 (0)