User283571144 posted
Hi MGuser,
MGuser
Is it possible to authenticate the user without knowing his password?
As far as I know, it is easily to achieve.
For example, you use identity, you could use the usermanager to find the user by name.
If you have a record then just sign them in.
More details, you could refer to follow codes:
var user = await UserManager.FindByNameAsync(name);// find user by name
if (user != null)
{
await SignInManager.SignInAsync(user, true, true);//Sign in the user
}
But I think the most important thing is how to pass userid form SSO site to your web site.
I suggest you could encrypt the userid content and pass it though post method.
Best Regards,
Brando