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

Refactor dsi redirect in omniauth #472

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Conversation

CatalinVoineag
Copy link
Contributor

@CatalinVoineag CatalinVoineag commented Apr 12, 2024

Context

We need the dsi redirect to be more flexible, to allow more hosts to user DFE sign in so this commit just gets the base url from the request i.e. http://host:port and we can append auth/dfe/callback to it.

Changes proposed in this pull request

Omniauth dsi redirect URL
HostingEnvironment methods cleanup

Guidance to review

Use DFE sign-in on your local
It should work as normal

We need the dsi redirect to be more flexible, to allow more hosts to
user DFE sign in so this commit just gets the base url from the request
i.e. http://host:port and we can append `auth/dfe/callback` to it.
@CatalinVoineag CatalinVoineag self-assigned this Apr 12, 2024
@CatalinVoineag CatalinVoineag marked this pull request as ready for review April 12, 2024 11:21
@CatalinVoineag CatalinVoineag requested review from a team as code owners April 12, 2024 11:21
Copy link
Contributor

@Nitemaeric Nitemaeric left a comment

Choose a reason for hiding this comment

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

Awesome! 🚀

@CatalinVoineag CatalinVoineag merged commit 7e8ee29 into main Apr 12, 2024
7 checks passed
@CatalinVoineag CatalinVoineag deleted the cv/refactor-dsi-redirect-url branch April 12, 2024 11:51
@CatalinVoineag CatalinVoineag restored the cv/refactor-dsi-redirect-url branch April 15, 2024 09:03
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.

4 participants