No identity provider configure from Portal Web with Authetication Azure AD

I need deploy the portal web in a Site Web with the port 8443 and it authentication by Azure AD. I can not use "Default Web Site" because we need have different certificate.

Now, if I deploy the portal web in a SiteWeb with the port 8443, I get the error:

No identity provider configured

If I use the authentication de Active Directory, it work fine.

However, if I deploy the portal web in the "Default Web Site", it work fine and I can authentication by Azure AD.


Any idea?

Thanks!
Parents
  • Hello,

    the error thar I get is:

    2022-02-24 09:31:44.3839 ERROR (    WebLog gvj30c32xodjuggauhvwxwbt) : System.AggregateException: One or more errors occurred. ---> VI.Base.ViException: No identity provider configured.
       at QER.OAuthAuthentifier.OAuth.<_GetConfigAsync>d__38.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at QER.OAuthAuthentifier.OAuth.<GetConfigurationAsync>d__25.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at VI.DB.Auth.DbAuthenticator.<GetConfigurationAsync>d__9.MoveNext()
       --- End of inner exception stack trace ---

    Some idea?

  • This error "No identity provider configured" is always due to the fact that the web application (IdentityManager) isn't configured properly to use OAuth.  Here's what I would check.

    1. In Designer, the URL "https://<yourwebsite>:8443/IdentityManager" must exists in the Base Data-> General->Web server configurations

    The above URL must MATCH the "BaseUrl" in your web.config file for the C:\inetpub\wwwroot\IdentityManager directory, or the location for your web site's application.

    2. Also in the "Web server configuration", the "OAuth 2.0/OpenID Connect application" must match the OAuth application you configured in the "OAuth 2.0/OpenID Connect configuration" in the Designer.

    The reason that it works if you switch to a URL without your port is that is is in the Web server configuration.  So for you to do what you want, you need two entries.  One for the default port and another for your custom port.

Reply
  • This error "No identity provider configured" is always due to the fact that the web application (IdentityManager) isn't configured properly to use OAuth.  Here's what I would check.

    1. In Designer, the URL "https://<yourwebsite>:8443/IdentityManager" must exists in the Base Data-> General->Web server configurations

    The above URL must MATCH the "BaseUrl" in your web.config file for the C:\inetpub\wwwroot\IdentityManager directory, or the location for your web site's application.

    2. Also in the "Web server configuration", the "OAuth 2.0/OpenID Connect application" must match the OAuth application you configured in the "OAuth 2.0/OpenID Connect configuration" in the Designer.

    The reason that it works if you switch to a URL without your port is that is is in the Web server configuration.  So for you to do what you want, you need two entries.  One for the default port and another for your custom port.

Children