Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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