RicoSuter/NSwag

OpenIdConnect and cookie

Open

#1,321 opened on May 15, 2018

View on GitHub
 (5 comments) (0 reactions) (0 assignees)C# (1,189 forks)batch import
help wantedproject: NSwag.AspNettype: bug

Repository metrics

Stars
 (6,291 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

#As of OpenAPI Specification 3.0 it is possible to use more authentication methods, in ASP.NET Core it is easy to AddAuthentication with OpenIdConnect and AddCookie. As swashbuckle is not supporting 3.0 I'm looking at NSwag. Is it possible to use NSwag and use cookie-authentication?

https://swagger.io/docs/specification/authentication/ https://swagger.io/docs/specification/authentication/cookie-authentication/

and use OpenIdConnect discovery? https://swagger.io/docs/specification/authentication/openid-connect-discovery/

Contributor guide