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

Separate B2C logic from AAD v2 #267

Merged
merged 1 commit into from
Oct 26, 2018

Conversation

oldalton
Copy link
Member

Since we're applying more and more B2C specific fixes (e.g. fallback logic when tenantId is not present in the id_token), I separated B2C specific token creation logic, which derives from AAD v2.

This also fixes B2C access token lookups when tenantId not returned in the id_token.

return NO;
}

BOOL result = [super fillAccount:account fromResponse:response configuration:configuration];
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's do a separate follow up, I'd like to see this method return an account instead of it touching the passed in one.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, added on issue here: #269

@oldalton oldalton merged commit e5d219d into release/1.0.6 Oct 26, 2018
@oldalton oldalton deleted the oldalton/separate_b2c_factory branch October 26, 2018 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants