Skip to content
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

Fix for SSO Login Issue #246

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Fix for SSO Login Issue #246

merged 1 commit into from
Sep 19, 2024

Conversation

WadeBarnes
Copy link
Member

Refactor BuildUrlString to use UriBuilder to generate complete URL fo…

  • Updated callers to reference the new function signature

  • Added unit tests and Bogus library to make it easier to generate random test data

  • From Fix for SSO Login Issue jasper#20

namespace SS.Api.helpers
using System;

namespace Scv.Api.Helpers

Choose a reason for hiding this comment

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

Should this be referencing Scv?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup, copy paste error.

};

var portComponent =
string.IsNullOrEmpty(forwardedPort) || forwardedPort == "80" || forwardedPort == "443"

Choose a reason for hiding this comment

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

I added port 8080 here for scv to support running on Emerald.

Copy link
Member Author

Choose a reason for hiding this comment

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

Purposely not doing that to keep things as similar to what's in prod silver now.

…rmat

- Updated callers to reference the new function signature
- Added unit tests and Bogus library to make it easier to generate random test data

- From bcgov/jasper#20

Signed-off-by: Wade Barnes <[email protected]>
@WadeBarnes WadeBarnes merged commit da2213f into bcgov:master Sep 19, 2024
2 of 3 checks passed
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.

2 participants