search

But what do you do when you have to access an authenticated API from your application, for which you need the access token or the refresh token that was obtained as part of that sign-in flow?

Bharat Dwarkani shared on Jan 17, 2020
image
blog.maartenballiauw.be
bookmarks
share
favorite_border0 visibility2
favorite_border0 visibility2 share bookmarks

ASOS (AspNet.Security.OpenIdConnect.Server) is an advanced OAuth2 for ASP.NET Core 1.x and 2.x. In this article, we explain the integration process of ASOS, corresponding to client_credentials and password grant types, to enable:

Bharat Dwarkani shared on Jan 17, 2020
image
syncfusion.com
bookmarks
share
favorite_border0 visibility0
favorite_border0 visibility0 share bookmarks

n this article, we will create a web application using ASP.NET Core and Angular. We will then implement authentication and policy-based authorization in the application with the help of JWT. The web application will have two roles – Admin and User. The application will have role-based access for each role. We will learn how to configure and validate a JWT.

Bharat Dwarkani shared on Nov 25, 2019
image
ankitsharmablogs.com
bookmarks
share
favorite_border1 visibility51
favorite_border1 visibility51 share bookmarks

ASP.NET Core identity allows you to implement authentication and authorization for your web applications. While working with ASP.NET Core Identity at times you need to create default user accounts and roles in the system. In ASP.NET MVC you could have easily done this in Global.asax and Application_Start event handler. In ASP.NET Core the process is bit different since the application startup process is different. To that end this article explains a way to seed such user and roles data in your a

Bharat Dwarkani shared on Nov 24, 2019
image
binaryintellect.net
bookmarks
share
favorite_border0 visibility41
favorite_border0 visibility41 share bookmarks

Multi-factor authentication or MFA requires multiple factors to authenticate a user. Two-factor authentication (2FA) is an MFA with two factors. There is no real limit on how many factors we can add but it’s not practical for a user to use many factors as it hurts usability of the application if the login process is too long and complicated. Adding a second factor is usually enough to stop the brute-force and dictionary attacks.

Bharat Dwarkani shared on Nov 24, 2019
image
deblokt.com
bookmarks
share
favorite_border1 visibility13
favorite_border1 visibility13 share bookmarks

this tutorial, we are going to cover a simple example of how to implement Role Based Authorization / access control in Asp.Net Core 3.0 using visual studio 2019.

Bharat Dwarkani shared on Nov 24, 2019
image
dotnetdetail.net
bookmarks
share
favorite_border0 visibility19
favorite_border0 visibility19 share bookmarks

So while the benefits of using Single Sign On are obvious and there many articles about it, it way less discussed topic is Single Sign Out – the process of signing out the user from all web application which use the same IdP.

Bharat Dwarkani shared on Nov 10, 2019
image
hajekj.net
bookmarks
share
favorite_border0 visibility4
favorite_border0 visibility4 share bookmarks

This article shows two possible ways of getting user claims in an ASP.NET Core application which uses an IdentityServer4 service. Both ways have advantages and require setting different code configurations in both applications.

Bharat Dwarkani shared on Nov 02, 2019
image
damienbod.com
bookmarks
share
favorite_border1 visibility36
favorite_border1 visibility36 share bookmarks

This is walk through for an ASP.NET Core Authorization Lab, now updated for ASP.NET Core 2.1 and VS2017.

Bharat Dwarkani shared on Oct 26, 2019
image
github.com
bookmarks
share
favorite_border0 visibility10
favorite_border0 visibility10 share bookmarks

So you’ve built a web API and everything seems to be working fine. But Wait! Anyone can access your API, hit the correct url and boom your API is connected to. Though that might be heroic of you, but it shouldn’t be… I mean after all the bugs and stackoverflow.

Bharat Dwarkani shared on Oct 19, 2019
image
medium.com
bookmarks
share
favorite_border0 visibility92
favorite_border0 visibility92 share bookmarks
add