Hello,
We tried to make authentification from WPF Application using RFID Tags. When we pass the RFID, we succeeded to get the user. So we try to sign it in. But, we have no access to AccountController in the Web project. So we try to impliment the SignInAsync Method. The problem is in the IocManager in Microsoft.OWIN.Security, The HttpContext throws NullRefernceException.
Is there a way to do the SignIn without password or to get the palin text password from the hashed one. Any suggestion will be apreciated.
Thanks in advance
3 Answer(s)
-
0
You can use External Authentication. <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Zero/User-Management#external-authentication">https://aspnetboilerplate.com/Pages/Doc ... entication</a>
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hello,
thank you alper for your quick response. But, I can't find how to authenticatate without password. Can you please give me an example of the implimentation of the "TryAuthenticateAsync" method;
thanks in advance.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
@DFIELEC I think you need to use token auth, similar to this one <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Core/Controllers/TokenAuthController.cs#L104">https://github.com/aspnetzero/aspnet-ze ... er.cs#L104</a>.
You can create a similar action without password, get a token using this action and include that token in every request's header while you are calling an app service from your WPF app remotely.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)