WebApi authentication issue when login type is email · Issue #1765 · smartstore/SmartStoreNET · GitHub
Skip to content

WebApi authentication issue when login type is email #1765

Description

@Sherif-Ahmed

When I set the login type to Email and create a new user and generates public and private key from webapi plugin

I got an error "Value cannot be null. Parameter name: name"
StackTrace:
at System.Security.Principal.GenericIdentity..ctor(String name, String type)\r\n at SmartStore.Core.SmartStorePrincipal..ctor(Customer customer, String type)\r\n at SmartStore.Web.Framework.WebApi.Security.WebApiAuthenticateAttribute.OnAuthorization(HttpActionContext actionContext)\r\n at System.Web.Http.Filters.AuthorizationFilterAttribute.OnAuthorizationAsync(HttpActionContext actionContext, CancellationToken cancellationToken)

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions