title: Test a Web API (aspnetcore) with Swagger UI and Azure AD B2C
body: <p>I am a bit confused about things around Azure B2C auth for a Web API.</p>
  
  <p>I saw a lot of example to add a bearer token in the swagger UI. I think I understand that part.
  The Azure B2C environment and the Web API seem well configured with the "easy auth solution". But if I don't want that "easy auth solution", how can I generate the bearer token?</p>
  
  <p>Do I need openiddict or IdentityServer or there are other way to get the bearer (mostly for debug/testing purpose) ?</p>
  
  <p>Thanks,
  Adrien</p>