Like in IdentityServer3, is it possible to have HTML views (AngularApp) in IdentityServer4? Is there any documentation about this?
Like this: https://github.com/IdentityServer/IdentityServer3.Samples/tree/master/source/CustomViewService
I'm using IS3 with custom views and custom user store (my app database) but I need to port it to .NET Core using IS4.
In IS4 you are in total control over the views and the technology you like to build them. Check our samples - they use plain MVC controllers and actions.
Related
On Abp community site there are a few articles on how to access an Abp endpoint from Xamarin/Maui. Basically it boils down to:
create mobile client
login with user name and password
obtain access token
use this token as bearer for API calls.
However, in the microservices samples there is a Console app sample which has services injected and used. Now that would be quite awesome to use inside xamarin.
My question is: can abp application services be used directly in xamarin forms? I see no way of injecting the services.
I can share a couple of articles about it, I think those might help:
https://community.abp.io/posts/consume-abp-api-from-xamarin-app-3by6fdz6
MAUI, but they'll work on Xamarin too:
https://community.abp.io/posts/integrating-maui-client-via-using-openid-connect-aqjjwsdf
https://community.abp.io/posts/abp-framework-consumed-by-a-.net-maui-app-e74fmblw
I am using the asp.net core SPA template with identity to create a react SPA with a web api backend. Authentication is provided by a wrapper for Identity Server 4 Wrapper. This wrapper provides a couple of useful config profiles Config docs. These are really useful for getting my SPA to work out of the box. It seems that any other config to define possible clients that is not in the supported docs is ignored and not passed down to the underlying Identify server. Wrapper config builder
I would really like to be able to use the config and integrations provided by the asp.net core identity library but also be able to provide my own clients defined in the appsettings.json. This is so I can add another client to the identity server for a mobile application.
You can create the same template i am using with this line.
dotnet new react -o <output_directory_name> -au Individual
Any help is greatly appreciated.
I have an MVC application which creates an SQL DB using Entity Framework, and provides access to this via a WCF DataService. I also have a WPF application which I would like to use to control the MembershipProvider functions of the MVC application, e.g. register new users, update usernames/passwords, etc.
I've looked over a mess of material on using the MembershipProvider functions to provide security within a WPF app, but I'm struggling to find anything on how to access the MVC functions from WPF.
Is this possible using a WCF DataService, or something similar?
I am trying to make a silverlight application that uses RIA Services for authentication and databinding.
That is, I'd like to be able to use the login/registration forms provided in the Business Application Template, and use the drag&drop features for displaying data in datagrid on pages.
The data for the application (including membership data) is stored in an existing SQL Server database.
So I am going to create a new membership provider class that inherits the MembershipProvider abstract class from the System.Web.Secruty namespace, to work with the existing database.
1. Is this the right approach?
2. How can you configure the AuthenticationService.cs in the business Application Template to work with the newly created custom membership provider class?
Thanks in advance!
You simply need to configure your membership provider in web.config. The purpose of the provider model is to make implementations interchangeable.
see http://msdn.microsoft.com/en-us/library/f1kyba5e.aspx
I've seen oodles of examples for ASP.NET, but none for winforms. In other words, using the app.config instead of web.config. It would be a shame if it did not work.
It works exactly the same. The base provider model is part of System.Configuration, which abstracts (provider!) whether the application is configured via app.config or web.config.
Read about Client Application Services if you want to use ASP.NET providers in your Windows apps.
If you wish to use the Provider Pattern in a Windows app, this can also be done. I once did this to allow configuration between a real scanner and a fake one (yes I know I could of used an IOC container).
CodeProject probably has several provider tutorials- here is one: link text