eclipse-thingweb / eclipse-thingweb/node-wot

Setting cookie from Response Header Set-Cookie

Open
#1,242 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.