Skip to content

Include SP name in OIDC logout confirmation#7086

Merged
mitchellhenke merged 7 commits intomainfrom
mitchellhenke/include-sp-name-in-oidc-logout-confirmation
Oct 5, 2022
Merged

Include SP name in OIDC logout confirmation#7086
mitchellhenke merged 7 commits intomainfrom
mitchellhenke/include-sp-name-in-oidc-logout-confirmation

Conversation

@mitchellhenke
Copy link
Contributor

🛠 Summary of changes

To make RP-initiated OIDC Logout clearer for users, we should be explicit that they will return to the SP. This PR intends to add content to clarify this.

👀 Screenshots

Before After
image image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is kind of a double check for whether the service provider exists and has a friendly name. I'm not sure if all SPs have a friendly name, but there's a future where we support OIDC Logout without redirecting and this block will be useful then too.

@orenyk do all SPs have a friendly name?

@mitchellhenke mitchellhenke force-pushed the mitchellhenke/include-sp-name-in-oidc-logout-confirmation branch 2 times, most recently from fe12f90 to 4321665 Compare October 4, 2022 21:34
Mitchell Henke and others added 3 commits October 5, 2022 09:15
…ogout confirmation page

changelog: Improvements, OpenID Connect Logout, Add content indicating users will return to the service provider on logout confirmation page
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/include-sp-name-in-oidc-logout-confirmation branch from 4321665 to a360b6f Compare October 5, 2022 14:15
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/include-sp-name-in-oidc-logout-confirmation branch from a360b6f to 32e1209 Compare October 5, 2022 14:26
post_logout_redirect_uri: logout_params[:post_logout_redirect_uri],
}
@params[:state] = logout_params[:state] if !logout_params[:state].nil?
@service_provider_name = @logout_form.service_provider&.friendly_name
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it even possible to get to this point without service_provider being present?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently no, but we have some potential changes on the horizon where that may change.

Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/include-sp-name-in-oidc-logout-confirmation branch 2 times, most recently from 4da1258 to 58fe197 Compare October 5, 2022 15:14
@mitchellhenke mitchellhenke merged commit 41d47d7 into main Oct 5, 2022
@mitchellhenke mitchellhenke deleted the mitchellhenke/include-sp-name-in-oidc-logout-confirmation branch October 5, 2022 16:45
jskinne3 pushed a commit that referenced this pull request Oct 12, 2022
* add failing spec

* Add content indicating users will return to the service provider on logout confirmation page

changelog: Improvements, OpenID Connect Logout, Add content indicating users will return to the service provider on logout confirmation page

Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants