你的位置: 码友网首页 / 资讯源列表 / Securing multiple Auth0 APIs in ASP.NET Core using OAuth Bearer tokens

关于[Securing multiple Auth0 APIs in ASP.NET Core using OAuth Bearer tokens]的摘要:

This article shows a strategy for security multiple APIs which have different authorization requirements but the tokens are issued by the same authority. Auth0 is used as the identity provider. A user API and a service API are implemented in the ASP.NET Core API project. The access token for the user API data is created using an Open ID Connect Code flow with PKCE authentication and the service API access token is created using the client credentials flow in the trusted backend of the Blazor application. It is important that both access tokens will only work for the intended API.

原文地址: https://damienbod.com/2021/04/19/securing-multiple-auth0-apis-in-asp-net-core-using-oauth-bearer-tokens/

收录时间: 2021-04-20 浏览量: 912 分类: ASP.NET Core

| 0 收藏 | 0