Skip to content

Conversation

Enkosz
Copy link
Contributor

@Enkosz Enkosz commented Mar 5, 2022

This PR includes the following changes based on issue gh-7900

  • OidcClientInitiatedLogoutSuccessHandler is now able to replace {baseUrl} and {registrationId} inside the redirect uri
  • Adds a test to OidcClientInitiatedLogoutSuccessHandlerTests to verify the correct replace of the placeholders

Let me know if commit messages, test names, or something else can be wrong, i have also noticed that the Copyright and License dates are wrong in those classes should i fix them?

CLA already signed ✅

Issue gh-7900

@Enkosz Enkosz changed the title OidcClientInitiatedLogoutSuccessHandler resolves redirect uri placeholders OidcClientInitiatedLogoutSuccessHandler resolves redirect uri placeholders Mar 5, 2022
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 5, 2022
@sjohnr sjohnr added in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) type: enhancement A general enhancement labels Mar 8, 2022
@jzheaux
Copy link
Contributor

jzheaux commented Mar 10, 2022

Thanks, @Enkosz. Yes, please update the copyright headers and adjust the commit message. You can read more about both in our contributing guidelines.

@Enkosz
Copy link
Contributor Author

Enkosz commented Mar 12, 2022

@jzheaux i've changed the copyright headers, commit message and fixed the code formatting!

- OidcClientInitiatedLogoutSuccessHandler can automatically resolve placeholders like baseUrl and registrationId inside the postLogoutRedirectUri

Issue spring-projectsgh-7900
@jzheaux jzheaux added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 15, 2022
@jzheaux jzheaux added this to the 5.7.0-M3 milestone Mar 15, 2022
@jzheaux jzheaux merged commit 73003d5 into spring-projects:5.7.x Mar 15, 2022
@jzheaux
Copy link
Contributor

jzheaux commented Mar 15, 2022

Thanks, @Enkosz! This is now merged into 5.7.x and into main.

@Enkosz
Copy link
Contributor Author

Enkosz commented Mar 15, 2022

@jzheaux thanks! let me know if i can help with other issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants