Skip to content

[17.0][FIX] endpoint_auth_api_key: expect 401 when API key is missing - #154

Merged
OCA-git-bot merged 1 commit into
OCA:17.0from
camptocamp:fix-endpoint_auth_api_key
Aug 19, 2026
Merged

OCA-git-bot merged 1 commit into
OCA:17.0from
camptocamp:fix-endpoint_auth_api_key

Conversation

@yankinmax

Copy link
Copy Markdown
Contributor

The auth_api_key authentication handler now raises Unauthorized: 401 for missing credentials. Update the stale assertion accordingly while retaining 403 for authenticated API keys that lack endpoint permission.

The `auth_api_key` authentication handler now raises `Unauthorized`: 401 for missing credentials.
Update the stale assertion accordingly while retaining `403` for authenticated API keys that lack endpoint permission.
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @simahawk,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added mod:endpoint_auth_api_key Module endpoint_auth_api_key series:17.0 labels Aug 19, 2026
@yankinmax yankinmax changed the title [FIX] endpoint_auth_api_key: expect 401 when API key is missing [17.0][FIX] endpoint_auth_api_key: expect 401 when API key is missing Aug 19, 2026
@yankinmax

Copy link
Copy Markdown
Contributor Author

Hello @simahawk can you pls take a look and possibly trigger merge?

@yankinmax

Copy link
Copy Markdown
Contributor Author

Hello @OCA/web-maintainers can you pls take a look and possibly trigger merge?

@StefanRijnhart StefanRijnhart left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! As per OCA/server-auth#805 I see. Basically a port of #106 which could have been named more specifically.

@yankinmax

Copy link
Copy Markdown
Contributor Author

Hello @ivantodorovich can you pls take a look?

@StefanRijnhart

Copy link
Copy Markdown
Member

fast tracking as a CI fixing backport

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 17.0-ocabot-merge-pr-154-by-StefanRijnhart-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 228471e into OCA:17.0 Aug 19, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 31955d1. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants