Difference between revisions of "Authenticate oidc"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
  # Authenticate-oidc Action
 
  # Authenticate-oidc Action
 
   
 
   
  resource "aws_lb_listener_rule" "oidc" {
+
  resource "[[aws_lb_listener_rule]]" "oidc" {
 
   listener_arn = aws_lb_listener.front_end.arn   
 
   listener_arn = aws_lb_listener.front_end.arn   
 
+
 
   action {
 
   action {
 
     type = "authenticate-oidc"  
 
     type = "authenticate-oidc"  
 
+
 
     authenticate_oidc {
 
     authenticate_oidc {
 
       authorization_endpoint = "https://example.com/authorization_endpoint"
 
       authorization_endpoint = "https://example.com/authorization_endpoint"
Line 23: Line 23:
  
  
{{aws_lb_listener_rule}}
+
* {{aws_lb_listener_rule}}
 +
* {{OIDC}}

Latest revision as of 18:20, 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: