Im still learning blazor and would like to make some solution in it, but requirment would be to use windows something like windows auth (user login is enough) i known that windows auth is not implemented/availible by now - will be in future?
So scenario would be:
-run wasm in browser
-implement
public class MyAuthStateProvider: AuthenticationStateProvider
in
Task<AuthenticationState> GetAuthenticationStateAsync()
-get windows username there(how!?)
-make some post to api with this username, get from api all userinfo from existing DB + token for next api calls
-return it to wasm and go.
Can someone please point me direction ? i searched alot but most of solutions was due to serwer-side blazor - i need it wasm. I found also alot with implementing new custom authorization on server-side , custom registration etc - i already have database with my users..
or should it be made totally different way?
thanks and regards
