[17.0][MIG] fastapi_auth_api_key#555
Conversation
c459d2a to
8e0d443
Compare
8e0d443 to
d90f40e
Compare
d90f40e to
0d7e53c
Compare
593e388 to
697ff1c
Compare
697ff1c to
4e547bc
Compare
|
This PR has the |
| from fastapi.exceptions import HTTPException | ||
| from fastapi.security import APIKeyHeader | ||
|
|
||
| HTTP_API_KEY_HEADER = os.environ.get("FASTAPI_AUTH_HTTP_API_KEY_HEADER", "HTTP-API-KEY") |
There was a problem hiding this comment.
Non-blocking: I think we should make this configurable in the fastapi.endpoint.
Makes it easier to setup in environments without control of the env variables, like in Odoo.sh
|
@OCA/rest-framework-maintainers can we merge this one? 🙏🏻 |
|
/ocabot migration fastapi_auth_api_key /ocabot merge nobump |
|
This PR looks fantastic, let's merge it! |
|
Congratulations, your PR was merged at 49ae83f. Thanks a lot for contributing to OCA. ❤️ |
|
It looks like something changed on |
|
Congratulations, your PR was merged at 7ef6350. Thanks a lot for contributing to OCA. ❤️ |
Supercedes: