\Can only be logged in using identity provider\""
Comments
-
The following error is filling up my logs all day every day.
Is something wrong with my account? How do I fix this?Message : Error In Service AccountServiceWrapper :: Unhandled Service Exception
Category : Server
Level : Error
Timestamp: 6/19/2019 2:55:19 PM
Exception: [Message]:Error In Service AccountServiceWrapper :: Unhandled Service Exception System.Exception: Error: Account ‘test@decisions.com can only be logged in using its identity provider (id abdda883-ee1e-4224-a66f-21a0da1d7713) [Exception]:System.Exception: Error: Account ‘test@decisions.com can only be logged in using its identity provider (id abdda883-ee1e-4224-a66f-21a0da1d7713) at DecisionsFramework.ServiceLayer.Utilities.PasswordCredentialsUserContext.FetchAccount() at DecisionsFramework.ServiceLayer.Utilities.UserContextHolder.Register(AbstractUserContext userContext) at DecisionsFramework.ServiceLayer.Utilities.RegisterUserAttribute.BeforeInvoke(BeforeInvokeData beforeInvokeData) at DecisionsFramework.Utilities.AOP.AspectProxyFactory.BeforeInvokeHook(Object methodTarget, MemberInfo memberInfo, AspectParameter[] parms, MethodType methodType, Boolean& cancelInvokation) at AccountServiceWrapper.CheckUserContext(AbstractUserContext context) at SyncInvokeCheckUserContext(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)-
[i]edited by Sissafriss on 7/26/2019[/i] -
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]It appears your [/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]account[/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif] might be configured for Decisions "password" security within the database.[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]This can happen when an [/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]account[/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif] was originally created before Single Sign-on was configured. At the time of writing this our developers are [/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]working[/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif] on how to better handle this scenario.[/font][/color][b](We do not generally recommend that customers modify their Decisions database.
Please exercise caution when performing any database operations.
I would always recommend taking a database backup before performing DB operations.)
[/b]
[b]Steps to resolve:[/b]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]1. Confirm the security type of your [/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]account[/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif] by running the following query against the database:[/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]select authentication_type, identity_provider_id, entity_name * from entity_account[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]2. Check that the returned "authentication_type" for this [/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]account[/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif] is "password" (or something other than the intended security type i.e. AD or SAML)[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]If so, run this query to switch the security type. This should resolve the issue.[/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]update entity_account[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]set [/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]identity_provider_id = , --Leave blank[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]authentication_type = --Intended auth type goes here, i.e. SAML or AD[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]where account_id = --Account_ID of user goes here. i.e. ADMINISTRATOR [/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]ACCOUNT[/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif] or bf9df092-61d8-4d1a-a805-[/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]09f4b7ea08ed[/font][/color]
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions