XAF - External Authentication Providers (Google, GitHub, etc.) for Blazor UI

XAF Team Blog
28 September 2020

DevExpress v20.2 Beta 1 should ship in the next few weeks. Among XAF-related features we expect to ship is support for additional authentication schemes for XAF’s Blazor UI. This capability will allow you to use Windows Active Directory Authentication and popular OAuth providers (such as Google and Facebook) as an alternative to cookie-based forms authentication used by default.

Try It Now

We’ve created an intermediate build with a sample project demonstrating this functionality: XAF Blazor UI: External Authentication – Windows Active Directory and OAuth providers (Google, GitHub, Azure AD).

As always, we welcome your thoughts. Please comment below and let us know what you think of these new features. Should you have technical questions, feel free to contact us via the DevExpress Support Center. 

Security System for Entity Framework Core and XPO

Remember, XAF’s User Authentication and Group Authorization APIs can be used in XAF and non-XAF .NET apps – so please do spread the word. For more information, please refer to these Frequently Asked Questions and our landing page.

Showcase Your Apps on DevExpress.com

Highlight your business app and share your development experiences with the DevExpress community. To include your app in our upcoming App Showcase, please forward an application screenshot to clientservices@devexpress.com and tell us which DevExpress products you currently use within your organization.
9 comment(s)
CRM-d4912f15-de1a-4da6-8cba-55637e0e77c3
Abdul
Excellent! to get its functional in v20.2 my 2 clients has already demanding this feature for my simple XAF Blazor invoicing app
28 September 2020
Dennis (DevExpress)
Dennis (DevExpress)
@Abdul: thank you for your interest. We had this feature in our 2020 roadmap because integration with Microsoft 365, Azure Active Directory, Google Suite and other 3rd party services is more demanded in organizations lately (likely due to a greater popularity of remote work and tools like Microsoft Teams).

28 September 2020
Customer44493
Joche Ojeda - DevExpress MVP
Just what I needed, I was about to start coding that ))... again you saved me a lot of time))
28 September 2020
Nate Laff
Nate Laff
Is it easy enough to add our own auth provider? Can this be extended to winforms too?
28 September 2020
Neogeo
Neogeo
Auth0 possible? 
29 September 2020
Nate Laff
Nate Laff
Yes, Auth0 is what I was also hoping for. As long as the pieces are there I don't mind doing it myself. I also have an IdentityServer4 implementation that I use for something else. My XAF app wouldn't hit it that particular oauth, but I'm sure other people use IS4 as well. So definitely allowing us to register our own would be appreciated.
29 September 2020
Christian Andersen
Christian Andersen
That is so cool, I wish that the Office Component could be part of XAF blazor release. Then I would make my future project in that.
29 September 2020
Dennis (DevExpress)
Dennis (DevExpress)
@Christian: I hope that you implement less popular functions with custom controls or forms as we discussed with you in this ticket while we are focusing on the base framework functionality, without which the majority of LOB apps cannot be built (our 2020 roadmap).
29 September 2020
Anatol (DevExpress Support)
Anatol (DevExpress Support)
@Nate, if your own authentication service can be integrated in an ASP.NET Core application, it should work with XAF Blazor UI.
This solution cannot be easily applied to WinForms, since it has another architecture and environment. The following links should help you get started with a WinForms solution:

Security - How to add OAuth2 authentication to a WinForms app


@Neogeo, we did not check XAF Blazor UI with this particular provider. I can see that authentication scheme registration steps from their tutorial are quite similar to other providers. So, it should be compatible with XAF Blazor UI. Please feel free to post a ticket if you need any assistance.
29 September 2020

Please login or register to post comments.