This PR adds support for logging in with Discord credentials over OAuth.
Todo
[x] We need an analog to [Authorize] which could be component based or just litter @if everywhere using the @inject ClaimsPrincipal solution I've temporarily gone for. This will be changed in 3.0-preview6 (see the proposal here).
[ ] This feature needs tests. Best solution is likely mocking out the BackChannel with mockhttp
[ ] Helpers to fetch Discord claims from an authenticated ClaimsIdentity
This PR adds support for logging in with Discord credentials over OAuth.
Todo
[x] We need an analog to
[Authorize]
which could be component based or just litter@if
everywhere using the@inject ClaimsPrincipal
solution I've temporarily gone for. This will be changed in 3.0-preview6 (see the proposal here).[ ] This feature needs tests. Best solution is likely mocking out the BackChannel with mockhttp
[ ] Helpers to fetch Discord claims from an authenticated ClaimsIdentity