RicoSuter/NSwag

OpenIdConnect and cookie

Open

#1 321 ouverte le 15 mai 2018

Voir sur GitHub
 (5 commentaires) (0 réactions) (0 assignés)C# (1 189 forks)batch import
help wantedproject: NSwag.AspNettype: bug

Métriques du dépôt

Stars
 (6 291 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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/

Guide contributeur