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

Commit 7809f0a

Browse files
committed
Rename Bearer token name to access_token
1 parent 1d984be commit 7809f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.AspNetCore.Authentication.JwtBearer/JwtBearerHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ protected override async Task<AuthenticateResult> HandleAuthenticateAsync()
157157
{
158158
ticket.Properties.StoreTokens(new[]
159159
{
160-
new AuthenticationToken { Name = "Bearer", Value = token }
160+
new AuthenticationToken { Name = "access_token", Value = token }
161161
});
162162
}
163163

0 commit comments

Comments
 (0)