Skip to content

Example application showing how Swagger can be used as client application in OAuth2

License

Notifications You must be signed in to change notification settings

straypaper/swagger-openid-oauth2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swagger-openid-oauth2

This repository contains an example API showing how Swagger-UI can be used as a client application in OAuth2 to call an API.

For the full article see this blog post

You can use the following client id and client secret to try out the example:

Client ID: p58vrQZo4YX40WdHt2da5oUUoNdmDJrL
Client Secret: M2lNi4QxXnMvR40O4W12pU975Zho09f8z5JhJ2A7BqPw2LdjyTBEhVCRP_yqfGbK

Use the credentials below to authenticate:

Username: user@example.com
Password: acm!KJY7ucw4vjw7rxd

The Auth0 client application has been configured to allow the two CORS origins below:

https://localhost:7285
http://localhost:5244

About

Example application showing how Swagger can be used as client application in OAuth2

Topics

Resources

License

Stars

Watchers

Forks

Languages