mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-26 06:15:52 +03:00
[PR #420] [MERGED] feat: add Oauth2 Login #572
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#572
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/420
Author: @dreamhunter2333
Created: 8/18/2024
Status: ✅ Merged
Merged: 8/18/2024
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
3ca617efeat: add Oauth2 Login📊 Changes
27 files changed (+614 additions, -17 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)➕
frontend/src/constant/index.ts(+8 -0)➕
frontend/src/models/index.ts(+15 -0)📝
frontend/src/router/index.js(+6 -1)📝
frontend/src/store/index.js(+14 -5)📝
frontend/src/views/Admin.vue(+6 -0)➕
frontend/src/views/admin/UserOauth2Settings.vue(+253 -0)📝
frontend/src/views/user/UserLogin.vue(+30 -1)➕
frontend/src/views/user/UserOauth2Callback.vue(+65 -0)📝
vitepress-docs/docs/.vitepress/zh.ts(+6 -5)📝
vitepress-docs/docs/public/feature/address-webhook.png(+0 -0)📝
vitepress-docs/docs/public/feature/admin-mail-webhook.png(+0 -0)📝
vitepress-docs/docs/public/feature/admin-user-page.png(+0 -0)📝
vitepress-docs/docs/public/feature/admin-webhook-settings.png(+0 -0)📝
vitepress-docs/docs/public/feature/admin.png(+0 -0)➕
vitepress-docs/docs/public/feature/oauth2-login.png(+0 -0)➕
vitepress-docs/docs/public/feature/oauth2.png(+0 -0)➕
vitepress-docs/docs/zh/guide/feature/user-oauth2.md(+26 -0)📝
worker/src/admin_api/index.ts(+5 -0)➕
worker/src/admin_api/oauth2_settings.ts(+34 -0)...and 7 more files
📄 Description
PR Type
Enhancement, Documentation
Description
Changes walkthrough 📝
17 files
Admin.vue
Add Oauth2 settings tab in Admin viewfrontend/src/views/Admin.vue
UserOauth2Settings.vueUserOauth2Settings.vue
Create UserOauth2Settings component for Oauth2 managementfrontend/src/views/admin/UserOauth2Settings.vue
UserLogin.vue
Add Oauth2 login functionality in UserLogin viewfrontend/src/views/user/UserLogin.vue
UserOauth2Callback.vue
Create UserOauth2Callback component for Oauth2 loginfrontend/src/views/user/UserOauth2Callback.vue
index.ts
Add common mail domains constantfrontend/src/constant/index.ts
index.ts
Add UserOauth2Settings type definitionfrontend/src/models/index.ts
UserOauth2Settingstype definitionindex.ts
Add Oauth2 settings routes in admin APIworker/src/admin_api/index.ts
oauth2_settings.ts
Create handlers for Oauth2 settings in admin APIworker/src/admin_api/oauth2_settings.ts
constants.ts
Add Oauth2 settings key constantworker/src/constants.ts
index.ts
Add UserOauth2Settings type definitionworker/src/models/index.ts
UserOauth2Settingstype definitionindex.ts
Add Oauth2 login and callback routes in user APIworker/src/user_api/index.ts
oauth2.ts
Create handlers for Oauth2 login and callbackworker/src/user_api/oauth2.ts
settings.ts
Update open settings with Oauth2 client IDsworker/src/user_api/settings.ts
utils.ts
Enhance getJsonSetting utility with genericsworker/src/utils.ts
getJsonSettingutility function to support generic typesworker.ts
Allow Oauth2 routes without authenticationworker/src/worker.ts
index.js
Add route for Oauth2 callbackfrontend/src/router/index.js
index.js
Add state management for Oauth2 sessionfrontend/src/store/index.js
3 files
zh.ts
Update sidebar with Oauth2 documentation linkvitepress-docs/docs/.vitepress/zh.ts
CHANGELOG.md
Update changelog with Oauth2 login featureCHANGELOG.md
user-oauth2.md
Add documentation for Oauth2 third-party loginvitepress-docs/docs/zh/guide/feature/user-oauth2.md
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.