From 2f9ce3e3e638e8066134b06aaf76f3da0e90a652 Mon Sep 17 00:00:00 2001 From: Livio Spring Date: Tue, 29 Oct 2024 08:11:41 +0100 Subject: [PATCH] indicate back channel logout support in discovery endpoint --- pkg/op/discovery.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/op/discovery.go b/pkg/op/discovery.go index cd08580..5a79a09 100644 --- a/pkg/op/discovery.go +++ b/pkg/op/discovery.go @@ -61,6 +61,8 @@ func CreateDiscoveryConfig(ctx context.Context, config Configuration, storage Di CodeChallengeMethodsSupported: CodeChallengeMethods(config), UILocalesSupported: config.SupportedUILocales(), RequestParameterSupported: config.RequestObjectSupported(), + BackChannelLogoutSupported: config.BackChannelLogoutSupported(), + BackChannelLogoutSessionSupported: config.BackChannelLogoutSessionSupported(), } } @@ -92,6 +94,8 @@ func createDiscoveryConfigV2(ctx context.Context, config Configuration, storage CodeChallengeMethodsSupported: CodeChallengeMethods(config), UILocalesSupported: config.SupportedUILocales(), RequestParameterSupported: config.RequestObjectSupported(), + BackChannelLogoutSupported: config.BackChannelLogoutSupported(), + BackChannelLogoutSessionSupported: config.BackChannelLogoutSessionSupported(), } }