Hey, I'm trying to login a member in umbraco v10 and I can't seem to find how to do it.
In v8 you could use Members.Login but can't find the equivalent for v10.
Anyone can point me in the right direction? I've checked the documentation and apart from that example using a view with macro I couldn't find anything on it.
Members Login
Hey, I'm trying to login a member in umbraco v10 and I can't seem to find how to do it.
In v8 you could use Members.Login but can't find the equivalent for v10.
Anyone can point me in the right direction? I've checked the documentation and apart from that example using a view with macro I couldn't find anything on it.
Is IMemberSignInManager gone in v10?
From this article https://our.umbraco.com/documentation/Tutorials/Members-Registration-And-Logins/ you can see the Login macro code and able jump to and see the built-in UmbLoginController that the macro has a call to its HandleLogin action. You can look into it through your VS ide.
In case, you have migrated the db to V10 already, so all the Member data records are there, you need add LegacyPasswordMigration config:
"Umbraco": { "CMS": { ... , "LegacyPasswordMigration": { "MachineKeyDecryptionKey": "keyvaluefromtheV8siteweb.config_machineKey.decryptionKey" } } }
Thank you. Managed to find how to actually do it.
It is a new project so no migration needed but I had to make an api controller so I can manage user logins from an app.
Hi Asilva,
It will be helpful if you can share more details on this.
Thanks
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.