Difference between revisions of "Authenticate oidc"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  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"

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: