Replies: 1 comment 10 replies
-
Have you tried putting |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
Maybe @BrennanConroy or any kind soul would take a look at this.
Im trying to [Authorize] a SignalR Method using IdentityServer4. I have followed the guidance in the Auth docs
I have a minimal git repo here to demonstrate the problem. HubConnectionContext is always empty of any claims for the user so I cant set the NameUserIdProvider to the 'name' claim as directed in the docs.
The access token always comes in via the Authorization header, which I don't understand why as isnt it suppose to be in the query string for bearer tokens?
The solution has three projects and the client is a WPF app (very minimal).
Debug message (logging) goes to the output window.
Why wont this work, I have followed the docs but I dont understand why HubConnectionContext doesn't contain the claims.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions