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 #415 #428

Merged
merged 2 commits into from
Aug 10, 2020
Merged

Fix for #415 #428

merged 2 commits into from
Aug 10, 2020

Conversation

durandt
Copy link
Contributor

@durandt durandt commented Aug 10, 2020

domain_hint ingored when login_hint is set.
Break up code so that domain_hint and login_hint are treated
independently.

domain_hint ingored when login_hint is set.
Break up code so that domain_hint and login_hint are treated
independently.
Copy link
Collaborator

@jmprieur jmprieur left a comment

Choose a reason for hiding this comment

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

LGTM.
Thanks @durandt

context.ProtocolMessage.DomainHint = domainHint;

// delete the domainHint from the Properties when we are done otherwise
// it will take up extra space in the cookie.
context.Properties.Parameters.Remove(OpenIdConnectParameterNames.DomainHint);
Copy link
Collaborator

@jennyf19 jennyf19 Aug 10, 2020

Choose a reason for hiding this comment

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

Thanks for the contribution @durandt, this is great. We already have a test verifying the doman_hint is set, but not sure if we want to check one or the other as well, or this test is enough...personally, I'm okay with this current test and the work done here. cc: @jmprieur

Copy link
Collaborator

@jennyf19 jennyf19 left a comment

Choose a reason for hiding this comment

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

:shipit:

@jennyf19 jennyf19 linked an issue Aug 10, 2020 that may be closed by this pull request
8 tasks
Copy link
Contributor

@pmaytak pmaytak left a comment

Choose a reason for hiding this comment

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

👍

@jennyf19 jennyf19 merged commit 18fe4ce into AzureAD:master Aug 10, 2020
@jennyf19
Copy link
Collaborator

thanks again @durandt

@durandt
Copy link
Contributor Author

durandt commented Aug 10, 2020

Well, that wasn't much job 😊 Thank you @jennyf19 , that was fast!

@durandt durandt deleted the durandt/fix415 branch August 11, 2020 06:26
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.

Domain hint only specified when login hint is not null or blank
5 participants