Allow configuration of logged_out page content#3824
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds support for operator-configurable content on the /logged_out page so deployments can customize the message and “back to sign in” link without modifying templates.
Changes:
- Introduces
logged_out.message,logged_out.link_text, andlogged_out.link_urlproperties (with defaults) and wires them into the logged-out controller/model. - Updates the
logged_out.htmlThymeleaf template to render the configured values. - Documents the new configuration options and adds an example snippet to the default
uaa.yml.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
uaa/src/main/resources/uaa.yml |
Adds commented example configuration for logged_out.*. |
server/src/main/resources/templates/web/logged_out.html |
Renders logout page message/link from model attributes. |
server/src/main/java/org/cloudfoundry/identity/uaa/logout/LoggedOutEndpoint.java |
Injects configurable properties and populates the model for the template. |
docs/UAA-Configuration-Reference.md |
Documents the new logged_out.* properties and links them in the reference. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
server/src/main/java/org/cloudfoundry/identity/uaa/logout/LoggedOutEndpoint.java
Show resolved
Hide resolved
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
server/src/main/java/org/cloudfoundry/identity/uaa/logout/LoggedOutEndpoint.java
Show resolved
Hide resolved
server/src/test/java/org/cloudfoundry/identity/uaa/logout/LoggedOutEndpointTest.java
Show resolved
Hide resolved
Update `LoggedOutEndpoint` to use safe URLs, and add comprehensive test coverage
adrianhoelzl-sap
approved these changes
Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows configuration of the logged_out page content, e.g.