SwaggerUI .Net Core 6

I have my Web API (which is written in C# using Web API 6). I want to be able to test using swagger but no matter what I try I can’t get the auth0 login page to show. Anyone managed it? Any help would be most appreciated.