dotnet / AspNetCore.Docs

Documentation for ASP.NET Core
https://docs.microsoft.com/aspnet/core
Creative Commons Attribution 4.0 International
12.6k stars 25.3k forks source link

.NET client with cookie authentication #11262

Open akousmata opened 5 years ago

akousmata commented 5 years ago

Can you please provide an example? Your information here is extremely light as it relates to this. You don't even give an example of how to call .WithUrl and provide the cookie token let alone the entire "API" that is necessary to manage the authentication.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

DanieBeets commented 4 years ago

Is there any way to send a username from the c# client without using cookies or a bearer token and then retrieving it in a hub from Context.User.Identity.Name?

bradygaster commented 3 years ago

Adding this issue (and the comment) to the docs tracking issue list. The auth article is one we know needs significant updates, so these items will contribute to its improvement..