Skip to main content
Skip table of contents

Authentication Providers

By default EzeScan WebApps has the following supported Authentication Providers:

They can be configured in the appsettings.json file.

appsettings.json

JS
"Authentication": {
    "EnableApiKey": true,
    "Providers": {
      "Cookie": {
      }
    }
  }

If you wish to override the name of the authentication cookie:

appsettings.json

JS
"Authentication": {
    "EnableApiKey": true,
    "Providers": {
      "Cookie": {
      }
    },
	"CookieDefaults": {
		"Name": ".AspNetCore.Cookies.mfd"
	}
  }

OpenID Connect

appsettings.json

JS
 "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"
      }    
    }
  }

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.