Difference between revisions of "Authenticate oidc"
Jump to navigation
Jump to search
(Created page with "{{lc}} {{aws_lb_listener_rule}}") |
|||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | .../... | ||
+ | # Authenticate-oidc Action | ||
+ | |||
+ | resource "aws_lb_listener_rule" "oidc" { | ||
+ | listener_arn = aws_lb_listener.front_end.arn | ||
+ | |||
+ | action { | ||
+ | type = "authenticate-oidc" | ||
+ | |||
+ | authenticate_oidc { | ||
+ | authorization_endpoint = "https://example.com/authorization_endpoint" | ||
+ | client_id = "client_id" | ||
+ | client_secret = "client_secret" | ||
+ | issuer = "https://example.com" | ||
+ | token_endpoint = "https://example.com/token_endpoint" | ||
+ | user_info_endpoint = "https://example.com/user_info_endpoint" | ||
+ | } | ||
+ | } | ||
+ | .../... | ||
{{aws_lb_listener_rule}} | {{aws_lb_listener_rule}} |
Revision as of 18:19, 20 February 2024
.../... # Authenticate-oidc Action resource "aws_lb_listener_rule" "oidc" { listener_arn = aws_lb_listener.front_end.arn
action { type = "authenticate-oidc"
authenticate_oidc { authorization_endpoint = "https://example.com/authorization_endpoint" client_id = "client_id" client_secret = "client_secret" issuer = "https://example.com" token_endpoint = "https://example.com/token_endpoint" user_info_endpoint = "https://example.com/user_info_endpoint" } } .../...
Advertising: