© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2mo ago•
17 replies
Uk3ndT

OpenApi Login endpoint with cookies

intermediateadvanced
Im trying to learn OpenApi, how i can use the spec (openapi.json) to create strongly typed clients and i have some trouble understanding how cookies work.

Fx i would like that my Login endpoint in the Openapi spec defines that it returns an accessToken cookie.

Then for endpoints that requires this token, have i would like the openapi spec that it needs to use this accessToken that exists when sending requsts to api.

My problem is defined in this https://share.note.sx/5h0pqb89#HeZ8r5XJAX++i8+olbtSdp14Dr7UJ8CSGAW+gwkUqzs
(Its a link to my Obsidian.md notes using the free sharing encrypyted plugin "Share Note By Alan Grainger")
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Ocelot SignalR -> Cookies not sent to endpoint
C#CC# / help
12mo ago
✅ Authentication with Cookies
C#CC# / help
4y ago
OpenAPI generator for C#, having issues with an endpoint that returns two types
C#CC# / help
3mo ago
✅ OpenApi generation
C#CC# / help
17mo ago