Skip to content

LG-15237 Allow the SP return URL resolver to interpolate locale values into URLs#11620

Merged
jmhooper merged 2 commits intomainfrom
jmhooper-add-locale-to-follow-up-url
Dec 12, 2024
Merged

LG-15237 Allow the SP return URL resolver to interpolate locale values into URLs#11620
jmhooper merged 2 commits intomainfrom
jmhooper-add-locale-to-follow-up-url

Conversation

@jmhooper
Copy link
Copy Markdown
Contributor

In #11591 we added a post_idv_follow_up URL in response to issues we were having getting users for a particular partner to return to their SP. This partner expressed concerns about have the appropriate locale for these users since they are returning to the partner without initiating a session at the partner.

The original implementation for the change in #11591 included a locale param on the post_idv_follow_up URL. After some discussion with other engineers we identified that this pattern of hardcoding a param onto a single service providers was undesirable. This commit introduces the ability to include template-able values in these URLs and introduces the locale as one of those values.

@jmhooper
Copy link
Copy Markdown
Contributor Author

There are a few things in this pull request I'm not super confident about. I'll comment on them.

…s into URLs

In #11591 we added a `post_idv_follow_up` URL in response to issues we were having getting users for a particular partner to return to their SP. This partner expressed concerns about have the appropriate locale for these users since they are returning to the partner without initiating a session at the partner.

The original implementation for the change in #11591 included a locale param on the `post_idv_follow_up` URL. After some discussion with other engineers we identified that this pattern of hardcoding a param onto a single service providers was undesirable. This commit introduces the ability to include templateable values in these URLs and introduces the locale as one of those values.

changelog: Internal, SP Configuration, Add the ability to specify a locale in a redirect URL
@jmhooper jmhooper force-pushed the jmhooper-add-locale-to-follow-up-url branch from 818434a to 652f76e Compare December 11, 2024 21:18
Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
@jmhooper
Copy link
Copy Markdown
Contributor Author

Here is a pull request that prevents partners from modifying their configured post_idv_follow_up_url on the dashboard: https://gitlab.login.gov/lg/identity-dashboard/-/merge_requests/165

We need that MR merged before we merge this change.

@jmhooper jmhooper merged commit b6cacfc into main Dec 12, 2024
@jmhooper jmhooper deleted the jmhooper-add-locale-to-follow-up-url branch December 12, 2024 21:37
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.

3 participants