Skip to content

Update generate_token to use UNICODE_ASCII_CHARACTER_SET#15787

Open
mrhx01 wants to merge 4 commits into
python:mainfrom
mrhx01:fix-authlib-common-security
Open

Update generate_token to use UNICODE_ASCII_CHARACTER_SET#15787
mrhx01 wants to merge 4 commits into
python:mainfrom
mrhx01:fix-authlib-common-security

Conversation

@mrhx01
Copy link
Copy Markdown
Contributor

@mrhx01 mrhx01 commented May 13, 2026

fix(stubs): use correct default value for generate_token chars parameter

Replace ellipsis (...) with UNICODE_ASCII_CHARACTER_SET to match
the actual runtime implementation.

authlib/common/security.py

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Comment thread stubs/Authlib/authlib/common/security.pyi Outdated
Co-authored-by: Sebastian Rittau <sebastian.rittau@zfutura.de>
@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@mrhx01 mrhx01 requested a review from srittau May 13, 2026 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants