I share the code for a Blazor integration with Identity Server and BFF. All browsers don’t allow to share or save an authentication token
Search Results for: identity server
Implement security workflow with Identity Server
The goal of this post is to implement security workflow with Identity Server 4 and C# among projects and services. With a bunch of examples, I’m going to show, practically, how to do it.
Configure IdentityServer for Xamarin Forms
In this new post, I explain how to configure IdentityServer for Xamarin Forms to integrate Web Authenticator using Xamarin Essentials
Authentication in Xamarin Forms with IdentityServer
I want to start to use Visual Studio 2022 Preview and create a base Xamarin Forms project integrated with IdentityServer
Secure Blazor WebAssembly with IdentityServer4
I’m going to explain how to secure a Blazor WebAssemble application with IdentityServer4. Also, how to secure API calls
Authentication in ShinyProxy with IdentityServer
In this post I explain how to use the authentication in ShinyProxy with IdentityServer and set up roles for each application.
Adding an external Microsoft login to IdentityServer4
This article shows how to implement a Microsoft Account as an external provider in an IdentityServer4 project using ASP.NET Core Identity with a SQLite database. Setting up the App Platform for the Microsoft Account To setup the app, login using your Microsoft account and open the My Applications link https://apps.dev.microsoft.com/?mkt=en-gb#/appList Click the Add an app button. Give the application a name and add your email. This app is called microsoft_id4_enrico. After you clicked the create button, you need to generate a new password. Save this somewhere for the application configuration.…
Connect ASP.NET MVC 4.6.2 project to IdentityServer4
I have a website running on ASP.NET MVC 4.5.2. I have an IdentityServer4 server running but when I try and authenticate against it I get an: invalid_request I googled a bit but I can’t find a solution. Finally, I found the way. First, in your IdentityServer4 you have to create a new client: public static IEnumerable GetClients() { return new List<client> { new Client { ClientId = “yourid”, AllowedScopes = new List<string> { “openid” }, AllowedGrantTypes = GrantTypes.Hybrid, RedirectUris = new List { “https://yoururl/signin-oidc” }, } } } When you…
Integration with Identity in AdminLTE project
I continue to add more features to the integration of AdminLTE with Identity and IdentityServer in AdminLTE in an ASP.NET Core project
Log record changes in SQL server in an audit table
How to implement a log record changes in SQL server in an audit table and Entity Framework. This is the easy explanation and the code
Every application needs identity & access control
Nearly every application deals with data and resources that need to be protected. Implementing secure authentication and authorization is therefore an essential requirement in most cases. While historically the solution to that problem has been either Windows authentication or username/password, this might not hold true anymore. In the distributed and mobile application landscape, passwords have become an anti-pattern, and single sign-on, security token services and federation are the prevalent technologies to achieve a seamless security experience for your users. We have worked in this space for several years, and our…
Call API Management from Blazor
The title ”Call API Management from Blazor” is not explain fully what I’m going to explain in this post but it is only a title. So, consider the following scenario. Scenario On Azure API Management Service you have your APIs. For more protection, you want to add another level of security asking to the API Management to validate the user token for each request. The token is validated again your own Identity Server. Once the API Management is configured to use Identity Server for the validation, you want to call…
Blazor using HttpClient with authentication
Today, we are going to learn how to create a secure connection in Blazor using HttpClient with authentication to gain access to the protected resources on the Web API’s side. Everything is based on IdentityServer. Until now, we secure Blazor WebAssembly With IdentityServer4 and enabled login and logout actions. After successful login, IdentityServer sends us the id_token and the access_token. But we are not using that access_token yet. So, in this article, we are going to change that. But, using the access token with Blazor WebAssembly is not going to be our…
How to use an Azure API Management Service
API Management creates consistent and modern API gateways for existing back-end. How to use an Azure API Management Service in a real world?
Integrating AdminLTE with ASP.NET Core
I explain how integrating AdminLTE with ASP.NET Core 3.1 MVC or really any other Bootstrap based UI Frameworks completely from scratch
Protect static files with ASP.NET Core
I explain how to Protect static files with ASP.NET Core Razor Pages and IdentityServer 4. Working with almost every extensions
GymConnections
With GymConnections every gym has its own community of people. So, people can virtually meet, chat, organize to see each other in the gym or follow a course together
APIs with Entity Framework Core: PUT
Continue the tutorial about APIs with Entity Framework Core and in particular how to implemente the PUT to update a record with dependencies.
APIs with Entity Framework Core
I want to give a complete example of minimal APIs in Blazor with Entity Framework Core with complex objects.
PendingModelChangesWarning with NET9
I am creating with NET9 using Entity Framework Core that returns PendingModelChangesWarning. Here how to understand this error and fix it
MAUI Push Notifications using Azure Notification Hub
Here how implement in NET8 MAUI the push notifications using Azure Notification Hub without any external package for Windows. Very hard work!
NET8, Blazor and Custom User Management
I will show how to create custom user management with NET8 and Blazor based on Microsoft Identity. Here is how to add custom fields for users
Custom User Management with NET8 and Blazor
In this new series of posts, I will show how to create custom user management with NET8 and Blazor based on Microsoft Identity.
Dynamically add JavaScript from Blazor components
In this new post, I show you the code to dynamically add JavaScript from a Blazor components coming from the component itself or another URL
Markdown Editor component for Blazor
I have created a new Markdown Editor component flexible and rich of functionalities for Blazor WebAssembly and Blazor Server with .NET6.