You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe the problem.
Hi. I have similar issue. My solution has Blazor Web Apps (Server) and API. I want to send notifications from API to Blazor (Authorization/Authentication via Microsoft.Identity - EntraID). I stuck with Hub configuration on Blazor side. I should provide AccessTokenProvider to HubConnectionBuilder but I don't see where access token can be. I searched HttpContext (from CascadingParameter) but ther is no access token at all. Any sugestions? Thank you.
Describe the solution you'd like
Provide how to pass accessToken from EntraId to SignalR HubConnectionBuilder in Blazor to connecto to SignalR hosted in API
This discussion was converted from issue #55819 on May 21, 2024 16:41.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
Hi. I have similar issue. My solution has Blazor Web Apps (Server) and API. I want to send notifications from API to Blazor (Authorization/Authentication via Microsoft.Identity - EntraID). I stuck with Hub configuration on Blazor side. I should provide AccessTokenProvider to HubConnectionBuilder but I don't see where access token can be. I searched HttpContext (from CascadingParameter) but ther is no access token at all. Any sugestions? Thank you.
Describe the solution you'd like
Provide how to pass accessToken from EntraId to SignalR HubConnectionBuilder in Blazor to connecto to SignalR hosted in API
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions