hasura / hasura/ndc-open-api-lambda
Support for QueryParams
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
A common way to provide authentication is via a token string passed as a query param. At the moment, there's no way to define a token value as a query param without hard coding the value. This could leverage the forward headers dialog but append as a query param instead of pass as header.
```yaml
openapi: 3.0.0
...
# 1) Define the key name and location
components:
securitySchemes:
ApiKeyAuth: # arbitrary name for the security scheme
type: apiKey
in: query # can be "header", "query" or "cookie"
name: token # name of the header, query parameter or cookie
...
```
the `in` property is important to watch.
Contributor guide
Assessment
This issue has not been assessed yet.