Skip to content

Commit

Permalink
Init end_session_endpoint via metadataSeed
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcialRosales committed May 22, 2024
1 parent da1a327 commit 86730b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deps/rabbitmq_management/priv/www/js/oidc-oauth/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ function oauth_initialize_user_manager(resource_server) {
audience: resource_server.id, // required by oauth0
},
};
if (resource_server.end_session_endpoint != "") {
oidcSettings.metadataSeed = {
end_session_endpoint: resource_server.end_session_endpoint
}
}
if (resource_server.oauth_client_secret != "") {
oidcSettings.client_secret = resource_server.oauth_client_secret;
}
Expand Down

0 comments on commit 86730b7

Please sign in to comment.