This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public async Task<IActionResult> DoChallenge(string returnUrl) | |
| { | |
| var context = await _interaction.GetAuthorizationContextAsync(returnUrl); | |
| var acrTenantValue = context.AcrValues.First(v => v.StartsWith("tenantId:")); | |
| var tentantId = acrTenantValue.Split(':')[1]; | |
| // start challenge and roundtrip the return URL and | |
| var props = new AuthenticationProperties | |
| { |
NewerOlder