Replies: 3 comments 6 replies
-
@hikalkan I just found that my quest is hopeless. Blazor WASM seems to not support Windows authentication. I know you have plan to give ABP a Blazor server support in ABP 4.2 next year. So what do you advise me?
|
Beta Was this translation helpful? Give feedback.
-
@Stirda I also had this requirement for an internal (intranet) web app. I used WASM Abp and code to authenticate against Azure AD so the identity check is done by Azure, then passes back to local Identity Server for permissions etc. There was a community article that I used/adapted for my purposes here |
Beta Was this translation helpful? Give feedback.
-
I finally got this working 🥳 The "how" is here. @hikalkan I was wrong saying:
I understand know that I didn't need WASM to be able to respond to a Anyway, thank you for your support, @hikalkan , even if, at the end of the day, I don't need Blazor server-side compatibility for my project anymore (but still curious about). |
Beta Was this translation helpful? Give feedback.
-
I am tired of trying to get windows authentication working in ABP Blazor. CORS Access-Control-Allow-Origin missing, ClaimsPrincipal null, NullReferenceException caused by missing loginUrl, Windows provider login button on Login page not working, api-definition endpoint wanting anonymous request ...
I didn't expect adding automatic Windows authentication being so hard. Even manual auth doesn't work.
One day I succeeding in getting windows account name by implementing a middleware, but I am unable today to get this working again. But, even there, I don't know how to keep going ABP auto-registration workflow. New external login provider feature ? No luck. All value everywhere are
null
orfalse
. Everytime. Whatever I do.There are many issues posted in ABP GitHub about that. Many developers on the Web pill their hair off on this subject.
Why this functionality is so wanted by so many people (not just ABP, ASP.NET Core SPA world too) but all implementation options found on the Web don't work?
Please consider tackle this problem. I spent days on this subject. By reading all issues on this subject on ABP GitHub, I know I am not the only one waiting for months for a solution.
Edit: I remember now. When I succeeded in manual Windows authentication (simply IIS auth, not ABP one), it was by calling LoginAsync method from Swagger. So it was hacky and just the beginning of a possible solution.
Beta Was this translation helpful? Give feedback.
All reactions