Skip to content

I know this .Result is a very bad idea (converting from async to sync) #2

@todo

Description

@todo

// todo: I know this .Result is a very bad idea (converting from async to sync)
// however there's no other way to do this, signing key resolver doesn't have a
// async version of this method, they are looking into it though
// https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/468
var key = services.BuildServiceProvider().GetRequiredService<IKeyResolver>()
.ResolveKey(kid).Result;


This issue was generated by todo based on a todo comment in 5d71b85 when #1 was merged. cc @fossapps.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions