Current filter:
                                You should refresh the page.
                                Support Center
                                Show all comments
                                • Konstantin B (DevExpress) 07.17.2017

                                  Would you please elaborate more on your particular scenario? What type of an application are you going to create with XAF Mobile? What authentication providers are you going to use and why?

                                • Hi Scott,

                                  Even though we have not yet researched how to do this and thus, I cannot provide with any solutions in a reasonable time frame,  we can consider planning R&D work in this regard for the future if you *describe your scenario and business requirements in greater detail*. Would you please elaborate more on your particular scenario and type of application are you going to create with XAF Mobile? Exactly how is third-party authentication provider going to be used there and how will user permissions will be set up? If you have a link to a reference application where it is implemented, please share it as well so we can better understand your case. Thanks in advance.
                                • Scott Gross 08.25.2017
                                  We would like to use multiple instances of Azure AD for authentication and only require storing the directory info and the ID of the account in XAF.

                                  this way, we can use the single auth provider with other applications that support it.

                                  I suppose the AD groups would need to match to roles.

                                  I can describe more detail?
                                • Thanks for your update, Scott.

                                  >>only require storing the directory info and the ID of the account in XAF.
                                  Did you mean storing this info in the XAF security user object?

                                  What would the expected logon form look like (provide a screenshot or specify the exact data a user would enter)?

                                • Scott Gross 08.25.2017
                                  yes, we would store this info in the XAF security user object... instead of their password, at least that's what I would think to do.

                                  I have not thought through the entire solution, but I would think it would be the same login screen as we use for Office365. that basically has email address (as the username) and the password.

                                  We are not looking for multiple providers as your sample has. when a new user is created in XAF, we would need to push that new user into Azure AD or some other backend process.

                                  there are at least 2 other applications that we would like to integrate XAF authentication with. they both support AzureAD/Office365.
                                • Scott Gross 08.25.2017
                                  maybe it could also populate the url for the Data Service endpoint as well in the redirects? I'm referring to the KB:
                                • Thanks for your update, Scott. We need some additional time to research your task, especially after your last comment. We'll get back to you once we finish our research.
                                • Hello Scott,

                                  Even though we do not have ready solutions for this task because we have not yet researched it (this is a separate R&D work that must be carefully planned as any other feature for the release), we can propose the following plan:
                                  1. Create a custom Action for the logon form and assign a client side functionality to it using ActionBaseExtensions > RegisterClientScriptOnExecute 
                                  2. Consider using PhoneGap plug-ins like cordova-plugin-inappbrowser  or the one described at to authenticate your user either in a separate web page or by referring to the built-in Android/iOS APIs directly.
                                  3. Store the authentication result and pass it from the client to the server (using the GlobalModelManager or ViewModelManager API described at T537288) for further processing in the Authenticate method of your custom authentication class. Technically, you can execute the standard Logon Action script using GetProcessActionOnServerScript method as we do in the How to change the default data service URL in XAF Mobile applications at runtime (I am not sure why changing the service URL is necessary in your particular case). The Authenticate method can also be used "to push that new user into Azure AD or some other backend process".

                                0 Solutions

                                Creation Date Rating Importance Sort by

                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2018 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners