RicoSuter/NSwag

OpenIdConnect and cookie

Open

#1.321 aberto em 15 de mai. de 2018

Ver no GitHub
 (5 comments) (0 reactions) (0 assignees)C# (1.189 forks)batch import
help wantedproject: NSwag.AspNettype: bug

Métricas do repositório

Stars
 (6.291 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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/

Guia do colaborador