Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

UserName, Membership, and ServiceAPI issue

$
0
0

Working on a requirement to allow our customers to edit/change their account, which in this case is their email address.  I can simply accomplish this via Membership.UpdateUser no problem.

Their is another project that requires our users to authenticate via the ServiceApi (episerver/token) which seems to leverage the UserName from the Users table instead of the Memebership table.

So once a user changes their email address, they are no longer able to authenticate via The Service API.

Anyone else having this issue? When a customer requests to change their email address, should the code also update the UserName to be the email address?


Viewing all articles
Browse latest Browse all 9076

Trending Articles