search

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

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 visibility182
favorite_border0 visibility182 share bookmarks

As of version 5.5, Microsoft’s IdentityModel library now supports the signing of JSON Web Tokens using the RSASSA-PSS (Probabilistic Signature Scheme) digital signature algorithm. This is great news if you’re looking to start building .NET Core systems that implement OpenID’s Financial-grade API and Open Banking, where PS256 should be used for signing.

Bharat Dwarkani shared on Sep 15, 2019
image
scottbrady91.com
bookmarks
share
favorite_border0 visibility5
favorite_border0 visibility5 share bookmarks

A practical tutorial showing how to use JSON Web Tokens in ASP.NET Core 2 applications.

Bharat Dwarkani shared on Aug 30, 2019
image
auth0.com
bookmarks
share
favorite_border0 visibility6
favorite_border0 visibility6 share bookmarks

Authentication via a JWT is pretty much standard practice these days and there are lots of blog posts and sample code showing how to do this in ASP.NET Core. However, what if we are implementing a multi-tenant API and want the JWT signing key secret to be different for each tenant? In this post we go through how to implement a multi-tenant JWT.

Bharat Dwarkani shared on Aug 21, 2019
image
carlrippon.com
bookmarks
share
favorite_border0 visibility162
favorite_border0 visibility162 share bookmarks
add