Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Fix the broken scheme-less GetTokenAsync overload #823

@kevinchalet

Description

@kevinchalet

The GetTokenAsync() overload that doesn't require a scheme is convenient... but broken, as it tries to call the other overload with a null scheme, which results in an ArgumentNullException being thrown at runtime:

image

https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNetCore.Authentication.Abstractions/TokenExtensions.cs#L135

/cc @HaoK @Tratcher

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions