I'm adding an external SSO to Umbraco 7 using Shannon's Identity package, all works fine until I try to add extra data to the newly created Umbraco Member.
This is executed as part of the "ExternalLoginCallback" method on the UmbracoIdentityAccountController, after the Umbraco member has been successfully created.
The "UpdateAsync" call comes back with a success and the group is successfully being assigned, but when I check in the back-office the firstName, lastName and ssoId properties aren't saved to the Member.
I've probably missed something very basic, but Google isn't being very helpful with this today...
Can't save properties on UmbracoApplicationMember
Hi all,
I'm adding an external SSO to Umbraco 7 using Shannon's Identity package, all works fine until I try to add extra data to the newly created Umbraco Member.
Here's the code I'm running:
This is executed as part of the "ExternalLoginCallback" method on the UmbracoIdentityAccountController, after the Umbraco member has been successfully created.
The "UpdateAsync" call comes back with a success and the group is successfully being assigned, but when I check in the back-office the firstName, lastName and ssoId properties aren't saved to the Member.
I've probably missed something very basic, but Google isn't being very helpful with this today...
Thanks,
Maff
Just got it working using a slightly different approach (https://twitter.com/SimonAntony/status/724987064886939648) - thanks Simon!
I used the MemberService to set the properties and save them:
Not sure why my initial approach hasn't worked, and would still be interested if anyone can suggest how to get it working!
But anyway it works now, and that's good enough for rock and roll! :)
is working on a reply...