- The authentication scheme name is stored in the cookie, so it must match between apps.
- With
AddAuthentication()
only the default scheme is used, regardless of how many schemes you register, unless you... - Customize
AddAuthorization()
to consider themes other than the default. See the docs - You can also use a forward selector in the default scheme to determine if another scheme needs to be used (but that's not usually the case), see this
- When using identity with identityserver replace
IdentityServerConstants.ExternalCookieAuthenticationScheme
withIdentityConstants.ExternalScheme
globally, because that's what identity uses. See the first note [here](https://identityserver4.readthedocs.io/en/aspnetcore1/quickstarts/4_external_authenti
This file contains 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
az ad sp list --query "[?displayName=='%1'].{appId:appId,displayName:displayName,objectId:objectId}" --all |
This file contains 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
var ___console_log = console.log; | |
var ___seen = []; | |
var ___skipCycles = (key, val) => { | |
if (val != null && typeof val == 'object') { | |
if (___seen.indexOf(val) >= 0) { | |
return; | |
} | |
___seen.push(val); | |
} | |
return val; |
This file contains 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
var process = Process.Start(processStartInfo); | |
var stdErr = process.StandardError; | |
var stdOut = process.StandardOutput; | |
var resultAwaiter = stdOut.ReadToEndAsync(); | |
var errResultAwaiter = stdErr.ReadToEndAsync(); | |
await process.WaitForExitAsync(); |
This file contains 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
using Ical.Net; | |
using Ical.Net.DataTypes; | |
public class ToText { | |
private static readonly string[] MonthNames = { | |
"January", | |
"February", | |
"March", | |
"April", | |
"May", |