Call a Protected API from a .NET MAUI App

here is another bit of info:
i want to get Swashbuckle to work with Auth0

i did find this blog that says they did is but they add stuff that i think makes it harder to setup:

when i get my web api working i will see if i can post a simple version…

the link has added code that while it might be useful it adds i think to many things that are not core to just getting the ui to work.
i did not see an Auth0 blog post for this…

basically we need the swagger ui to get an auth0 token so that it can pass the access token to the api controllers.