-
Notifications
You must be signed in to change notification settings - Fork 75
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
Consider Extension Point for Token Acquisition #152
Comments
I have hit this issue as well. Blazor WASM hosted, .Net 7. We have a blazor hosted app, on www.mysite.com The client needs to connect SignalR client and it needs access token to build the connection. We are getting IAccessTokerProvider as null in Dependency Injection. hubConnection = new HubConnectionBuilder() Is there a way, we can get token while using Bff? |
Two things come to mind
|
Hmm, and would DPoP need to be a concern here? Looking at the code, this would not work today it seems. So we can release this as-is now, and then make DPoP work down the road, or add it now. |
Consider adding a service in DI that abstracts how the BFF gets the tokens that it forwards to remote APIs. This would serve as an extension point that would allow a custom implementation to do complex things, e.g., token exchange before making the API call.
See DuendeSoftware/Support#301.
The text was updated successfully, but these errors were encountered: