-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[SignalR]: AuthorizeHelper should no-op if endpoint routing has already executed auth #9216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cc @rynowak \ @davidfowl \ @BrennanConroy |
The work items here are:
|
We already did most of this work. The last piece is to skip if it already ran |
We did this? @BrennanConroy wasn't so sure... |
I would be really careful about making things skip and be smart - rather than making sure that the app is configured correctly. The change in #8387 broke stuff in MVC because the user would configure the We landed on making it an error to have |
@rynowak the way I thought of doing this was to not add auth metadata to |
OK DOpe |
@pranavkm you assigned yourself to this, are you going to do it? If not, let me know and I'll find a |
Sure, I'd be happy to review the change if somebody else does the PR. |
Cool, just wanted to clarify the status of your assignment ;P. We'll take a look at this in preview 6 |
Acceptance checklist (check one item)
|
Similar to the solution in #8387, we need to avoid re-running auth in SignalR if the middleware previously ran.
The text was updated successfully, but these errors were encountered: