-
Notifications
You must be signed in to change notification settings - Fork 527
SNOW-2194055: Separate server and redirect URIs in AuthHttpServer #2609
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
SNOW-2194055: Separate server and redirect URIs in AuthHttpServer #2609
Conversation
a57bbe5 to
00665af
Compare
sfc-gh-fpawlowski
left a comment
There was a problem hiding this 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
npeshkov
left a comment
There was a problem hiding this 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 👍
sfc-gh-fpawlowski
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
1651005 to
80afdb9
Compare
npeshkov
left a comment
There was a problem hiding this 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
There was a problem hiding this 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
Fixes support for
redirect_uri. Copy of #2400