[PR #691] [MERGED] fix: oauth2 callback failed #705

Closed
opened 2026-02-26 21:32:34 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/691
Author: @dreamhunter2333
Created: 7/20/2025
Status: Merged
Merged: 7/20/2025
Merged by: @dreamhunter2333

Base: mainHead: feature/dev


📝 Commits (1)

  • f8590c7 fix: oauth2 callback failed

📊 Changes

7 files changed (+25 additions, -19 deletions)

View changed files

📝 CHANGELOG.md (+5 -1)
📝 frontend/package.json (+1 -1)
📝 pages/package.json (+1 -1)
📝 vitepress-docs/package.json (+1 -1)
📝 worker/package.json (+1 -1)
📝 worker/src/constants.ts (+1 -1)
📝 worker/src/user_api/oauth2.ts (+15 -13)

📄 Description

PR Type

Bug fix, Enhancement


Description

  • Fixed OAuth2 callback failure by refining role handling logic.

  • Updated version to 1.0.2 across multiple files and changelog.

  • Improved error handling for default user role assignment.

  • Added a changelog entry for the OAuth2 login fix.


Changes walkthrough 📝

Relevant files
Configuration changes
5 files
constants.ts
Updated version constant to `1.0.2`                                           
+1/-1     
package.json
Updated package version to `1.0.2`                                             
+1/-1     
package.json
Updated package version to `1.0.2`                                             
+1/-1     
package.json
Updated package version to `1.0.2`                                             
+1/-1     
package.json
Updated package version to `1.0.2`                                             
+1/-1     
Bug fix
1 files
oauth2.ts
Fixed OAuth2 callback and improved role handling logic     
+15/-13 
Documentation
1 files
CHANGELOG.md
Added changelog entry for version `1.0.2`                               
+5/-1     

Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.

  • 🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

    ## 📋 Pull Request Information **Original PR:** https://github.com/dreamhunter2333/cloudflare_temp_email/pull/691 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 7/20/2025 **Status:** ✅ Merged **Merged:** 7/20/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/dev` --- ### 📝 Commits (1) - [`f8590c7`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/f8590c70ae516a4644e030ed37fcca1b250f487f) fix: oauth2 callback failed ### 📊 Changes **7 files changed** (+25 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+5 -1) 📝 `frontend/package.json` (+1 -1) 📝 `pages/package.json` (+1 -1) 📝 `vitepress-docs/package.json` (+1 -1) 📝 `worker/package.json` (+1 -1) 📝 `worker/src/constants.ts` (+1 -1) 📝 `worker/src/user_api/oauth2.ts` (+15 -13) </details> ### 📄 Description ### **PR Type** Bug fix, Enhancement ___ ### **Description** - Fixed OAuth2 callback failure by refining role handling logic. - Updated version to `1.0.2` across multiple files and changelog. - Improved error handling for default user role assignment. - Added a changelog entry for the OAuth2 login fix. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Configuration changes</strong></td><td><details><summary>5 files</summary><table> <tr> <td><strong>constants.ts</strong><dd><code>Updated version constant to `1.0.2`</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/691/files#diff-cab08ba19c1499ed426fc4918a5613e22eb95c3427c7467ce330f5ee0d69d01e">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td><strong>package.json</strong><dd><code>Updated package version to `1.0.2`</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/691/files#diff-da6498268e99511d9ba0df3c13e439d10556a812881c9d03955b2ef7c6c1c655">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td><strong>package.json</strong><dd><code>Updated package version to `1.0.2`</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/691/files#diff-74314f72f6616d400be4cb0d161867d8148f23c22d4c12c7188aedb129c00c59">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td><strong>package.json</strong><dd><code>Updated package version to `1.0.2`</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/691/files#diff-3adbfbfaa65ecc60f48c8d009a52c697d4c80d61ee887799df22407fcb73f380">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td><strong>package.json</strong><dd><code>Updated package version to `1.0.2`</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/691/files#diff-89dc6f41a53ce13f2da5a00dd34868762e6cd0df46eddc9f5c3c4510b1493870">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Bug fix</strong></td><td><details><summary>1 files</summary><table> <tr> <td><strong>oauth2.ts</strong><dd><code>Fixed OAuth2 callback and improved role handling logic</code>&nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/691/files#diff-fede9bc68112c797eefa07c6e6cc20a6aa107addb3e5636757131589a435e13b">+15/-13</a>&nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Documentation</strong></td><td><details><summary>1 files</summary><table> <tr> <td><strong>CHANGELOG.md</strong><dd><code>Added changelog entry for version `1.0.2`</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/691/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed">+5/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about PR-Agent usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
    kerem 2026-02-26 21:32:34 +03:00
    Sign in to join this conversation.
    No milestone
    No project
    No assignees
    1 participant
    Notifications
    Due date
    The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

    No due date set.

    Dependencies

    No dependencies set.

    Reference
    starred/cloudflare_temp_email#705
    No description provided.