Skip to content

[19.0][IMP] auth_api_key: generate API keys automatically#949

Open
yankinmax wants to merge 1 commit into
OCA:19.0from
camptocamp:imp-auth_api_key
Open

[19.0][IMP] auth_api_key: generate API keys automatically#949
yankinmax wants to merge 1 commit into
OCA:19.0from
camptocamp:imp-auth_api_key

Conversation

@yankinmax

Copy link
Copy Markdown
Contributor

Add server side random API key generation to auth_api_key, with a form button for empty keys and a revealable password widget for easier key management.

@yankinmax yankinmax changed the title [19.0][IMP] [IMP] auth_api_key: generate API keys automatically [19.0][IMP] auth_api_key: generate API keys automatically Jun 11, 2026

@Ricardoalso Ricardoalso left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice feature, Thanks 🙏

I’m wondering whether removing required=True will break any behavior built on top of this. It’s worth documenting in the commit and PR description

Comment thread auth_api_key/views/auth_api_key.xml Outdated
@Ricardoalso

Copy link
Copy Markdown
Contributor

Nice feature, Thanks 🙏

I’m wondering whether removing required=True will break any behavior built on top of this. It’s worth documenting in the commit and PR description

Oh, ok I’ve just seen #950. The removal of required=True relates to the other PR and could be moved there to avoid any confusion.

Comment thread auth_api_key/models/auth_api_key.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants