Skip to content

Conversation

@sfc-gh-turbaszek
Copy link
Contributor

@sfc-gh-turbaszek sfc-gh-turbaszek commented Oct 28, 2025

Fixes support for redirect_uri. Copy of #2400

@sfc-gh-turbaszek sfc-gh-turbaszek requested a review from a team as a code owner October 28, 2025 12:54
@sfc-gh-turbaszek sfc-gh-turbaszek force-pushed the turbaszek-SNOW-2194055-split-server-redirect-uris branch from a57bbe5 to 00665af Compare October 28, 2025 12:55
Copy link
Contributor

@sfc-gh-fpawlowski sfc-gh-fpawlowski left a comment

Choose a reason for hiding this comment

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

Left minor comment regarding the flow of configuration

Copy link
Contributor

@npeshkov npeshkov left a comment

Choose a reason for hiding this comment

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

I tested the changes locally and in a Cloud Dev Env (custom redirect URI), and both work 👍

Copy link
Contributor

@sfc-gh-fpawlowski sfc-gh-fpawlowski left a comment

Choose a reason for hiding this comment

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

lgtm

@sfc-gh-turbaszek sfc-gh-turbaszek force-pushed the turbaszek-SNOW-2194055-split-server-redirect-uris branch from 1651005 to 80afdb9 Compare November 3, 2025 15:08
Copy link
Contributor

@npeshkov npeshkov left a comment

Choose a reason for hiding this comment

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

Previously, without any configuration on user side, effective redirect uri would have a port added to it. This no longer happens, which will break setups in which the identity provider expects the uri to end with a port

Copy link
Contributor

@npeshkov npeshkov left a comment

Choose a reason for hiding this comment

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

In a previous iteration of this PR, it was possible to specify the port and the host of the local auth server using environment variables. I do not see an easy way to do this anymore, and it is relevant when the local server port needs to match a part of the redirect uri (in cloud environments).

Edit: I did not see the oauth_socket_uri connection param

@sfc-gh-turbaszek sfc-gh-turbaszek added the DO_NOT_PORT_CHANGES_TO_SP Add this label when changes in this PR do not need to be port to SP connector label Nov 4, 2025
@sfc-gh-turbaszek sfc-gh-turbaszek merged commit 1a0290d into main Nov 4, 2025
106 of 113 checks passed
@sfc-gh-turbaszek sfc-gh-turbaszek deleted the turbaszek-SNOW-2194055-split-server-redirect-uris branch November 4, 2025 15:37
@github-actions github-actions bot locked and limited conversation to collaborators Nov 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

DO_NOT_PORT_CHANGES_TO_SP Add this label when changes in this PR do not need to be port to SP connector

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants