Authentication Providers
By default EzeScan WebApps has the following supported Authentication Providers:
They can be configured in the appsettings.json file.
Cookie
appsettings.json
"Authentication": {
"EnableApiKey": true,
"Providers": {
"Cookie": {
}
}
}
If you wish to override the name of the authentication cookie:
appsettings.json
"Authentication": {
"EnableApiKey": true,
"Providers": {
"Cookie": {
}
},
"CookieDefaults": {
"Name": ".AspNetCore.Cookies.mfd"
}
}
OpenID Connect
appsettings.json
"Authentication": {
"EnableApiKey": true,
"Providers": {
"OpenIdConnect": {
"Authority": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/v2.0",
"ClientId": "11111111-1111-1111-1111-111111111111",
"MetadataAddress": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/v2.0/.well-known/openid-configuration"
}
}
}