Skip to content

SSO new system option: redirect to the referer url #1927

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

garmashdev
Copy link
Collaborator

@garmashdev garmashdev commented Mar 26, 2025

Description

This PR adds a new Yes/No option to the Magento Bolt settings: SSO Redirect to Previous Page.

When enabled, after a successful SSO login, the customer will be redirected back to the page they came from, instead of being redirected to the customer account page.

Screenshot 2025-03-25 at 10 44 17

Fixes: https://app.devrev.ai/bolt-inc/works/ISS-3365

#changelog SSO new system option: redirect to the referer url

Type of change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please validate that you have tested your change in at least one of the following areas:

  • Successfully tested locally (or docker image)
  • Successfully tested on a staging or sandbox server
  • Successfully tested on a merchant's staging server

For PR Reviewer

  • Reviewed unit tests to make sure we are using real components rather than mocks as much as possible?
  • For any major change (observer, new Bolt feature, core Magento interaction) we must add a feature switch, did you verify this?

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • New and existing unit tests pass locally with my changes.
  • I have created or modified unit tests to sufficiently cover my changes.
  • I have added my ticket link and provided a changelog message.

@garmashdev garmashdev requested a review from a team as a code owner March 26, 2025 09:43
@garmashdev garmashdev requested a review from dumega March 26, 2025 09:43
Copy link

peril-bolt bot commented Mar 26, 2025

Warnings
⚠️ Please make sure to add new test or update existing tests
⚠️ Helper/Config.php has been changed - please make sure you have updated getAllConfigSettings.

Generated by 🚫 dangerJS

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.

1 participant