Auth0 Home Blog Docs

Auth0 and Swagger UI Integration?

swagger
service-stack

#1

Has any successfully integrated Auth0 with Swagger UI so that users can click the exclamation point, be redirected to the Auth0 login page, sign in and then when they clck “Try it out” in the Swagger UI, the correct Token gets sent?

We are using OpenAPI on our ServiceStack UI to generate the Swagger UI and an example of that integration would be ideal, but a sample of any successful integration with Swagger UI would be directional.

Unfortunately, because Auth0 is newer, it lacks the depth of online resources that accompany other auth providers and I wasn’t able to find any examples at all of this integration, despite Swagger UI being pretty common. We currently use Identity Server and have that integrated but are considering a move to Auth0.


#2