bryanknox / BlazorApiAadB2c

Sample Blazor WebAssembly app with API and AAD B2C
MIT License
0 stars 0 forks source link

Question: Using NSWAG generated client #1

Open kingua opened 1 year ago

kingua commented 1 year ago

You have the first good write-up I've found around handling this elegantly. I'm doing essentially the same thing, but I'm using an NSWAG client generated from the Web API from the Blazor UI instead of going directly to the API. Have you ever tried this? I can't get the "on behalf of" auth to work between the UI and API client.

bryanknox commented 1 year ago

@kingua - I haven't used NSwag before. Thanks for pointing that out to me! I've been away from both Blazor and AAD B2C for a while so I can't be any help to you right now.

Good luck with finding a solution.