Skip to content

AddDownstreamWebApi support or corresponding method #1898

@SWarnberg

Description

@SWarnberg

Describe the solution you'd like

For OBO flows there's an excellent extension method when an API calls another API, AddDownstreamWebApi. However, even though gRPC clients use HttpClient internally, this extension doesn't seem to work. It would be great to get a similar extension, or same, to work with gRPC clients in ASP.NET Core.

Describe alternatives you've considered

Today we're using AddCallCredentials with code for getting the token manually using ITokenAcquisition.

Additional context

Referred scenario: A web API that calls web APIs
Current solution: Bearer token with gRPC client factory

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions