Skip to content

Allow configuration of logged_out page content#3824

Merged
duanemay merged 4 commits intodevelopfrom
logged_out_config
Apr 10, 2026
Merged

Allow configuration of logged_out page content#3824
duanemay merged 4 commits intodevelopfrom
logged_out_config

Conversation

@duanemay
Copy link
Copy Markdown
Member

@duanemay duanemay commented Apr 9, 2026

This allows configuration of the logged_out page content, e.g.

logged_out:
  message: You have successfully logged out.
  link_text: Back to Sign In
  link_url: http://localhost:8080/uaa/login

Copilot AI review requested due to automatic review settings April 9, 2026 22:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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, and logged_out.link_url properties (with defaults) and wires them into the logged-out controller/model.
  • Updates the logged_out.html Thymeleaf 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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

duanemay added 2 commits April 9, 2026 20:16
Update `LoggedOutEndpoint` to use safe URLs, and add comprehensive test coverage
@github-project-automation github-project-automation bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Apr 10, 2026
@duanemay duanemay merged commit 82a8fcb into develop Apr 10, 2026
32 of 33 checks passed
@duanemay duanemay deleted the logged_out_config branch April 10, 2026 15:35
@github-project-automation github-project-automation bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants