Forum Discussion

kmekilo's avatar
kmekilo
Frequent Visitor
6 years ago

Multiple Cookies in response for Cookie Auth

I'm working on porting an API that sets 4 cookies in it's response to a login request. Is there a recommended way to do this? I can't use Set-Cookie more than once in the headers without hitting yaml issues. I found a work-around that basically sticks a null character in front of Set-Cookie because that allows Swagger to show 4 cookies but we have open source software call connexion that flags that as invalid. I'm trying to figure out what the right approach to this would be. 

No RepliesBe the first to reply