mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-26 06:15:52 +03:00
[PR #818] [MERGED] feat(oauth2): add email format transformation support #784
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#784
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/818
Author: @dreamhunter2333
Created: 1/23/2026
Status: ✅ Merged
Merged: 1/23/2026
Merged by: @dreamhunter2333
Base:
main← Head:feature/email📝 Commits (3)
5016787feat(oauth2): add email format transformation support9bd167fchore: update lock files and version888f21ffix: restore accessTokenFormat as optional field📊 Changes
13 files changed (+907 additions, -792 deletions)
View changed files
📝
frontend/package.json(+2 -2)📝
frontend/pnpm-lock.yaml(+227 -227)📝
frontend/src/models/index.ts(+3 -0)📝
frontend/src/views/admin/UserOauth2Settings.vue(+72 -67)📝
pages/package.json(+1 -1)📝
vitepress-docs/docs/en/guide/feature/user-oauth2.md(+42 -0)📝
vitepress-docs/docs/zh/guide/feature/user-oauth2.md(+42 -0)📝
vitepress-docs/package.json(+2 -2)📝
vitepress-docs/pnpm-lock.yaml(+292 -292)📝
worker/package.json(+7 -7)📝
worker/pnpm-lock.yaml(+193 -193)📝
worker/src/models/index.ts(+3 -0)📝
worker/src/user_api/oauth2.ts(+21 -1)📄 Description
User description
Summary
New Features
()$1,$2, etc.Examples
12345^(.+)$linux_do_$1@oauth.linux.dolinux_do_12345@oauth.linux.dojohn@old.com^(.+)@old\.com$$1@new.comjohn@new.comTest plan
🤖 Generated with Claude Code
PR Type
Enhancement, Documentation, Tests
Description
Added email format transformation for OAuth2 with regex and templates.
enableEmailFormat,userEmailFormat,userEmailReplace.Updated admin UI to support email transformation settings.
Enhanced backend logic to apply email transformation securely.
Updated documentation with examples and configuration details.
Diagram Walkthrough
File Walkthrough
4 files
Add UI support for email transformation settingsExtend OAuth2 settings model with email transformation fieldsUpdate worker-side model for email transformationImplement email transformation logic in OAuth2 flow2 files
Update frontend dependencies and versionUpdate worker dependencies and version2 files
Add English documentation for email transformationAdd Chinese documentation for email transformation🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.