eclipse-thingweb / eclipse-thingweb/node-wot
Setting cookie from Response Header Set-Cookie
Open
binding-http
enhancement
- Dominant language
- TypeScript
- Stars
- 192
- Forks
- 100
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 6
Description
Me and @egekorkan encountered with a case where we need to send session information to interact with a Thing. Therefore we thought, the token can be sent as a cookie, when security scheme is defined as below. In case there are no problems with this kind of logic, I can implement it.
```
"securityDefinitions": {
"bearer1": {
"scheme": "bearer",
"in": "cookie",
"name": "session_name"
}
},
"security":` "bearer1",
```
Contributor guide
Assessment
This issue has not been assessed yet.