Web Portal (SSO) connecting through Application Server

Dear all,

Is it possible to have a Web Portal (with SSO - ADS (role based) ) configured to use Application Server? It does not work (trying out locally).

When I have Web Portal configured with Application Server and using Employee (Role Based) as the authenticator, all works fine.

Many thanks in advance.

Errormessage:

2020-07-09 23:45:05.4754 INFO ( WebLog nhueqxhzjmym3fmgz2twbm3j) : Authenticating session using RoleBasedADSAccount
2020-07-09 23:45:06.4770 WARN ( WebLog nhueqxhzjmym3fmgz2twbm3j) : System.Exception: Single-sign-on failed, URL was /IdentityManager/ ---> System.AggregateException: One or more errors occurred. ---> QBM.AppServer.Interface.AppServerException: Application server returned an error. ---> VI.Base.ViException: An error occurred.
--- End of inner exception stack trace ---
at QBM.AppServer.Client.AppServerClient.<PostAsync>d__23`1.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 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at QBM.AppServer.Client.ServiceAuthenticator.<AuthenticateAsync>d__6.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.Entities.SessionFactoryImpl.<>c__DisplayClass15_0.<<OpenAsync>b__0>d.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.Entities.SessionFactoryImpl.<_OpenAsync>d__18.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.Entities.SessionFactoryImpl.<OpenAsync>d__15.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at VI.Base.SyncActions.Do[T](Func`1 function)
at VI.DB.Implementation.Connection.Authenticate(IAuthProps props)
at VI.WebRuntime.UserSession.HandleLogin(IAuthPropCollector auth)
at VI.WebRuntime.UserSession.Authenticate(IAuthPropCollector auth)
at VI.WebRuntime.Communication.RequestAuthenticationModule.TrySingleSignOn(HttpContextBase context, IUserSession userSession)
--- End of inner exception stack trace --- System.Exception: Single-sign-on failed, URL was /IdentityManager/ ---> System.AggregateException: One or more errors occurred. ---> QBM.AppServer.Interface.AppServerException: Application server returned an error. ---> VI.Base.ViException: An error occurred.
--- End of inner exception stack trace ---
at QBM.AppServer.Client.AppServerClient.<PostAsync>d__23`1.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 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at QBM.AppServer.Client.ServiceAuthenticator.<AuthenticateAsync>d__6.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.Entities.SessionFactoryImpl.<>c__DisplayClass15_0.<<OpenAsync>b__0>d.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.Entities.SessionFactoryImpl.<_OpenAsync>d__18.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.Entities.SessionFactoryImpl.<OpenAsync>d__15.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at VI.Base.SyncActions.Do[T](Func`1 function)
at VI.DB.Implementation.Connection.Authenticate(IAuthProps props)
at VI.WebRuntime.UserSession.HandleLogin(IAuthPropCollector auth)
at VI.WebRuntime.UserSession.Authenticate(IAuthPropCollector auth)
at VI.WebRuntime.Communication.RequestAuthenticationModule.TrySingleSignOn(HttpContextBase context, IUserSession userSession)
--- End of inner exception stack trace ---
2020-07-09 23:45:06.4770 INFO ( WebLog nhueqxhzjmym3fmgz2twbm3j) : Creating form VI_Session Start
2020-07-09 23:45:06.6489 INFO ( ObjectLog nhueqxhzjmym3fmgz2twbm3j) : User WebAppService_f19e964c97124b9ab3d6c78f8d92f77e (Dialog user: WebAppService_f19e964c97124b9ab3d6c78f8d92f77e, X fields: WebAppService_f19e964c97124b9ab3d6c78f8d92f77e) authenticated.

Parents
  • I have it working right now.

    I found out that i had to reinstall appserver en web portal both with SSO switched on during the install, only then it start working.

    To be honest, I find that a bit strange.... but allright, its working.

    Does the installer do something based upon this SSO setting during install what later on cannot be configured anymore?

    HJ

Reply
  • I have it working right now.

    I found out that i had to reinstall appserver en web portal both with SSO switched on during the install, only then it start working.

    To be honest, I find that a bit strange.... but allright, its working.

    Does the installer do something based upon this SSO setting during install what later on cannot be configured anymore?

    HJ

Children
No Data