You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if we use UseScriptToSyncRoles option in the login settings and provide a script that does not use propertiesToUpdate property, we get the following exception.
eUserAsync threw an exception Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'System.Dynamic.ExpandoObject' does not contain a definition for 'propertiesToUpdate'
at CallSite.Target(Closure, CallSite, Object)
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at CallSite.Target(Closure, CallSite, Object)
at OrchardCore.Users.Handlers.ScriptExternalLoginEventHandler.UpdateUserInternal(UpdateUserContext context, LoginSettings loginSettings)
at OrchardCore.Users.Handlers.ScriptExternalLoginEventHandler.UpdateUserAsync(UpdateUserContext context)
at OrchardCore.Users.Controllers.AccountController.ExternalLoginSignInAsync(IUser user, ExternalLoginInfo info) at CallSite.Target(Closure, CallSite, Object)
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at CallSite.Target(Closure, CallSite, Object)
at OrchardCore.Users.Handlers.ScriptExternalLoginEventHandler.UpdateUserInternal(UpdateUserContext context, LoginSettings loginSettings)
at OrchardCore.Users.Handlers.ScriptExternalLoginEventHandler.UpdateUserAsync(UpdateUserContext context)
at OrchardCore.Users.Controllers.AccountController.ExternalLoginSignInAsync(IUser user, ExternalLoginInfo info)
Orchard Core version
main
The text was updated successfully, but these errors were encountered:
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).
This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.
Describe the bug
if we use
UseScriptToSyncRoles
option in the login settings and provide a script that does not usepropertiesToUpdate
property, we get the following exception.Orchard Core version
main
The text was updated successfully, but these errors were encountered: